Changed comment about terminal blocking.
This commit is contained in:
parent
274fc60df9
commit
db172bebd6
|
@ -190,10 +190,10 @@ export EDITOR="${VISUAL}"
|
|||
|
||||
----
|
||||
{{< highlight zsh >}}
|
||||
# If ${VISUAL} contains emacs{client,remote}, return immediately to terminal.
|
||||
if [[ "${VISUAL}" =~ "emacs(client|remote)" ]]; then
|
||||
alias e="${VISUAL} -n"
|
||||
if [[ "${VISUAL}" =~ "emacsremote$" ]]; then
|
||||
# Don't block the terminal until the file is closed.
|
||||
alias se="${VISUAL} -n --sudo"
|
||||
elif which emacsremote >/dev/null && [[ -z "${SSH_CONNECTION}" ]]; then
|
||||
# Edit files as root in the Emacs instance run by the current user.
|
||||
|
|
Loading…
Reference in New Issue