Ver código fonte

Set emacsclient alias on SSH logins

George Jones 1 ano atrás
pai
commit
e308797ee5
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      .bashrc

+ 1 - 0
.bashrc

@@ -320,6 +320,7 @@ if [ -z "$SSH_CONNECTION" ]; then
     export EDITOR="$EMACSCLIENT -c"
     export ALTERNATE_EDITOR=""
 else
+    alias ec="emacsclient -c"
     export EDITOR=$(type -P emacs || type -P ed)
 fi
 export VISUAL=$EDITOR