Support ALTERNATE_EDITOR environment variable

This simplies the `e` alias and the EDITOR variable definition.
This commit is contained in:
William Carroll 2019-03-07 14:05:31 +00:00
parent 3dd58b01bd
commit e59898f00f
2 changed files with 2 additions and 1 deletions

View file

@ -6,7 +6,7 @@ alias ls="exa"
alias ll="exa -l"
alias la="exa -la"
alias lorem="echo Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
alias e="emacsclient --no-wait --alternate-editor=vim"
alias e="emacsclient --no-wait"
alias d="docker"
alias dps="docker ps"
alias dpsa="docker ps -a"

View file

@ -1,5 +1,6 @@
export TERMINAL=urxvtc
export EDITOR=emacsclient
export ALTERNATE_EDITOR=nvim
BROWSER=google-chrome
NIXIFY="$HOME/programming/nixify"