zsh: make se run editor as normal for root
This commit is contained in:
parent
018a5741b7
commit
d011bf1ac8
|
@ -45,7 +45,11 @@ if [[ ${VISUAL} == *emacs(client|remote)* ]]; then
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
alias e="${VISUAL}"
|
alias e="${VISUAL}"
|
||||||
alias se="${sucmd} ${VISUAL}"
|
if [[ "${EUID}" != "0" ]]; then
|
||||||
|
alias se="${sucmd} ${VISUAL}"
|
||||||
|
else
|
||||||
|
alias se="${VISUAL}"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
alias ta="tmux attach -t tastytea || tmux new-session -s tastytea"
|
alias ta="tmux attach -t tastytea || tmux new-session -s tastytea"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user