1
0
Fork 0
mirror of https://github.com/sbrl/bin.git synced 2018-01-10 21:33:46 +00:00

Tweak aliases and add z

This commit is contained in:
Starbeamrainbowlabs 2016-01-08 17:19:50 +00:00
parent 103bbea499
commit 31aab19d54
2 changed files with 13 additions and 3 deletions

View file

@ -16,9 +16,9 @@ alias mkdir='mkdir -pv'
# make rm tell us about everything it's deleting
alias rm='rm -v'
# Make the permissions tweaking commands give us more information about what they are doing
alias chmod='chmod -v'
alias chown='chown -v'
alias chgrp='chgrp -v'
alias chmod='chmod -c'
alias chown='chown -c'
alias chgrp='chgrp -c'
# show colours in less
alias less='less -R'
@ -31,3 +31,6 @@ mkdird () {
mkdir -pv $1
cd $1
}
# hr
alias hrh='hr - - = - -'

View file

@ -88,6 +88,12 @@ fi
# sleep 10; alert
alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"'
# Set up z.
# More information: https://github.com/rupa/z
_Z_OWNER=sbrl
. /home/sbrl/bin/z.sh
# Alias definitions.
# You may want to put all your additions into a separate file like
# ~/.bash_aliases, instead of adding them here directly.
@ -109,3 +115,4 @@ if ! shopt -oq posix; then
fi