24 lines
414 B
Bash
24 lines
414 B
Bash
git-home() {
|
|
git --git-dir="$HOME/.git_home/" --work-tree="$HOME" "$@"
|
|
}
|
|
|
|
noerr() {
|
|
"$@" 2>/dev/null
|
|
}
|
|
|
|
alias gh='git-home'
|
|
alias highlight='grep -U999999 --color=always'
|
|
|
|
export PATH=$PATH:$HOME/.mgr_config/bin
|
|
|
|
if [[ -z "$INSIDE_EMACS" ]]; then
|
|
EMACS="emacsclient -a="" -c"
|
|
alias emacs="$EMACS"
|
|
else
|
|
EMACS="emacsclient"
|
|
alias emacs="$EMACS -n"
|
|
fi
|
|
|
|
export EDITOR="$EMACS"
|
|
export VISUAL="$EMACS"
|