diff options
author | Mike Beattie <mike@ethernal.org> | 2018-05-27 20:00:15 +1200 |
---|---|---|
committer | Mike Beattie <mike@ethernal.org> | 2018-05-27 20:00:15 +1200 |
commit | 10e4019640664ae3e33b22fa7d91c68ba6d5f29f (patch) | |
tree | 28ace02c3fa2f5f17aa15bf01fb26c5d594c0b41 | |
parent | e6fb0c1bd2ef0368474c96b0e1dcc04a3260c10a (diff) |
ZSH: remove unused (by me) aliases and functions
Signed-off-by: Mike Beattie <mike@ethernal.org>
-rw-r--r-- | .zshrc | 24 |
1 files changed, 1 insertions, 23 deletions
@@ -120,7 +120,6 @@ fi alias whois='whois -h geektools.com' alias df='df -h' -alias cls=clear alias cscs='clear;printf "\033[3J"' # Do we have GNU ls of a new enough version for color? (ls --help 2>/dev/null |grep -- --color=) >/dev/null && \ @@ -130,17 +129,9 @@ alias ip='ip --color' alias ipb='ip --color --brief' alias dir='ls -lhga' alias du='du -h' -alias f=finger alias ftp=ncftp -alias md=mkdir -alias rd=rmdir -alias k=killall alias mtr='mtr --curses' -#alias su='su -' -#if [ -e `which reportbug 2>/dev/null` ]; then -# alias bug='reportbug -b' -#fi -alias stardate='date "+%y%m.%d/%H%M"' + # I don't like the zsh builtin time command. if [ -e /usr/bin/time ] ; then alias time=/usr/bin/time ; fi @@ -183,17 +174,4 @@ bindkey "\e[3~" delete-char # Delete ########################################################## # Functions -# Return the size of a directory. -dirsize() { - pushd >/dev/null; - chdir $1; - du |tail --lines 1; - popd >/dev/null; -} - -# Calculator -calc () { echo $* |bc -l } - -# This fingers @host. -@ () { finger @$1 } |