Add convenient bash aliases
This commit is contained in:
parent
8888d69a34
commit
00f67c9975
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue