Move ls aliases to their respective os topics
This commit is contained in:
parent
2a19062b15
commit
65ff05428f
|
@ -1,4 +1,3 @@
|
|||
alias ls='ls -G'
|
||||
alias ls="${aliases[ls]:-ls} -G"
|
||||
|
||||
alias date='gdate'
|
||||
|
|
|
@ -43,12 +43,6 @@ alias exe='exercism'
|
|||
# .gitattributes | map dirname
|
||||
alias map="xargs -n1"
|
||||
|
||||
# Colored ls
|
||||
case $OSTYPE in
|
||||
darwin*) alias ls='ls -G' ;;
|
||||
linux*) alias ls='ls --color=auto' ;;
|
||||
esac
|
||||
|
||||
take() { mkdir "$1" && cd "$1"; }
|
||||
hex() { echo -n $@ | xxd -psdu; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue