Add convenient bash aliases

This commit is contained in:
Fernando Schauenburg 2015-06-14 21:37:45 +02:00
parent 8888d69a34
commit 00f67c9975

View file

@ -44,8 +44,12 @@ alias la="ls -aF"
alias ll="ls -lF" alias ll="ls -lF"
alias lla="ls -laF" alias lla="ls -laF"
alias grep="grep --color=auto"; alias grep="grep --color=auto";
alias egrep="egrep --color=auto";
alias fgrep="fgrep --color=auto";
alias v="vim"
alias vi="vim" alias vi="vim"
alias path='echo $PATH | tr -s ":" "\n"' alias path='echo $PATH | tr -s ":" "\n"'
alias manpath='echo $MANPATH | tr -s ":" "\n"'
if [[ ${PLATFORM%%-*} == "darwin" ]]; then if [[ ${PLATFORM%%-*} == "darwin" ]]; then
alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder" alias show="defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder"