diff --git a/dotfiles/bash/.bashrc b/dotfiles/bash/.bashrc index 0e331d4..0928a3b 100644 --- a/dotfiles/bash/.bashrc +++ b/dotfiles/bash/.bashrc @@ -10,8 +10,8 @@ export HISTFILESIZE=10000 export PATH="$HOME/.bin:$PATH" # define a default editor -if [ -x "$(command -v caode)" ]; then - export EDITOR=code +if [ -x "$(command -v code)" ]; then + export EDITOR='code -w' elif [ -x "$(command -v vim)" ]; then export EDITOR=vim elif [ -x "$(command -v vi)" ]; then