Emacs to EDITOR and VISUAL.

This commit is contained in:
Zachary Billman 2022-12-29 20:32:42 -05:00
parent 920a91e932
commit b55e0c5f9d
2 changed files with 8 additions and 5 deletions

View File

@ -15,6 +15,9 @@ test -s ~/.alias && . ~/.alias || true
export PATH=$PATH:/home/zpb/.local/bin export PATH=$PATH:/home/zpb/.local/bin
export PATH=$PATH:/home/zpb/.emacs.d/bin export PATH=$PATH:/home/zpb/.emacs.d/bin
export EDITOR=emacs -nw
export VISUAL=emacs
if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} ]] if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} ]]
then then
exec fish exec fish

View File

@ -1,8 +1,8 @@
alias ls='lsd' alias ls='exa --icons'
alias l='ls -l' alias l='exa -l --icons'
alias la='ls -a' alias la='exa -a --icons'
alias lla='ls -la' alias lla='exa -la --icons'
alias lt='ls --tree' alias lt='exa --tree --icons'
zoxide init fish | source zoxide init fish | source