bash: add noerr and highlight funcs

This commit is contained in:
2020-07-05 14:01:43 -07:00
parent 0ee8196adc
commit 7cfb041646

View File

@@ -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