diff --git a/dotfiles/bash/.bashrc b/dotfiles/bash/.bashrc index ef91f72..6512736 100644 --- a/dotfiles/bash/.bashrc +++ b/dotfiles/bash/.bashrc @@ -9,10 +9,7 @@ export HISTSIZE=100000 export HISTFILESIZE=100000 export PATH="$HOME/.bin:$PATH" -# define a default editor -if [ -x "$(command -v code)" ]; then - export EDITOR='code -w' -elif [ -x "$(command -v vim)" ]; then +if [ -x "$(command -v vim)" ]; then export EDITOR=vim elif [ -x "$(command -v vi)" ]; then export EDITOR=vi