summaryrefslogtreecommitdiff
path: root/etc/aliases/default
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-21 02:02:39 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-21 02:02:39 +0100
commit9ad575417cf3a7ee92fe812a5e8066d992290e06 (patch)
treedcdf675988e15389c322b897f0a5272111f650f4 /etc/aliases/default
parentbd8b3f21608a057df4992fc54f621b60cfb98032 (diff)
default aliases: bandwidth-friendly ncdu
Diffstat (limited to 'etc/aliases/default')
-rw-r--r--etc/aliases/default3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/aliases/default b/etc/aliases/default
index 2d81936..84cd71b 100644
--- a/etc/aliases/default
+++ b/etc/aliases/default
@@ -37,6 +37,9 @@ linux: salias netstat='netstat --program --all --tcp --extend' ||
salias netstat='netstat -atp tcp'
+# less frequent updates when running ncdu via ssh
+[[ -n $SSH_CONNECTION ]] && check_com -c ncdu && alias ncdu='ncdu -q'
+
alias cal='cal -m'
alias cp='cp -i'
alias fbi='fbi -readahead'