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

Tweak aliases

This commit is contained in:
Starbeamrainbowlabs 2016-04-09 16:51:20 +01:00
parent 13be8c0c7b
commit aec125f0a2

View file

@ -2,6 +2,13 @@
### Aliases ###
###############
# cd up multiple directories at a time
alias ..='cd ..'
alias ...='cd ../../'
alias ....='cd ../../../'
alias .....='cd ../../../../'
alias ......='cd ../../../../../'
# some more ls aliases
alias ll='ls -hAtFl'
alias la='ls -hA'
@ -33,10 +40,7 @@ alias less='less -R'
alias cls='printf "\033c"'
# allow us to create a directory and immediately move into it
mkdird () {
mkdir -pv $1
cd $1
}
function mcd { mkdir -pv "$1" && cd "1";}
# hr
alias hrh='hr - - = - -'