bash: add noerr and highlight funcs
This commit is contained in:
@@ -2,7 +2,12 @@ git-home() {
|
|||||||
git --git-dir="$HOME/.git_home/" --work-tree="$HOME" "$@"
|
git --git-dir="$HOME/.git_home/" --work-tree="$HOME" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
noerr() {
|
||||||
|
"$@" 2>/dev/null
|
||||||
|
}
|
||||||
|
|
||||||
alias gh='git-home'
|
alias gh='git-home'
|
||||||
alias emacs='emacsclient -a="" -c'
|
alias emacs='emacsclient -a="" -c'
|
||||||
|
alias highlight='grep -U999999 --color=always'
|
||||||
|
|
||||||
export PATH=$PATH:$HOME/.mgr_config/bin
|
export PATH=$PATH:$HOME/.mgr_config/bin
|
||||||
|
|||||||
Reference in New Issue
Block a user