mirror of
https://github.com/sbrl/bin.git
synced 2018-01-10 21:33:46 +00:00
Tweak aliases
This commit is contained in:
parent
13be8c0c7b
commit
aec125f0a2
1 changed files with 8 additions and 4 deletions
|
@ -2,6 +2,13 @@
|
||||||
### Aliases ###
|
### Aliases ###
|
||||||
###############
|
###############
|
||||||
|
|
||||||
|
# cd up multiple directories at a time
|
||||||
|
alias ..='cd ..'
|
||||||
|
alias ...='cd ../../'
|
||||||
|
alias ....='cd ../../../'
|
||||||
|
alias .....='cd ../../../../'
|
||||||
|
alias ......='cd ../../../../../'
|
||||||
|
|
||||||
# some more ls aliases
|
# some more ls aliases
|
||||||
alias ll='ls -hAtFl'
|
alias ll='ls -hAtFl'
|
||||||
alias la='ls -hA'
|
alias la='ls -hA'
|
||||||
|
@ -33,10 +40,7 @@ alias less='less -R'
|
||||||
alias cls='printf "\033c"'
|
alias cls='printf "\033c"'
|
||||||
|
|
||||||
# allow us to create a directory and immediately move into it
|
# allow us to create a directory and immediately move into it
|
||||||
mkdird () {
|
function mcd { mkdir -pv "$1" && cd "1";}
|
||||||
mkdir -pv $1
|
|
||||||
cd $1
|
|
||||||
}
|
|
||||||
|
|
||||||
# hr
|
# hr
|
||||||
alias hrh='hr - - = - -'
|
alias hrh='hr - - = - -'
|
||||||
|
|
Loading…
Reference in a new issue