diff --git a/themes/budspencer/fish_prompt.fish b/themes/budspencer/fish_prompt.fish index 05fed2b..52b1af6 100644 --- a/themes/budspencer/fish_prompt.fish +++ b/themes/budspencer/fish_prompt.fish @@ -502,6 +502,7 @@ end function __budspencer_edit_commandline -d 'Open current commandline with your editor' commandline > $budspencer_tmpfile eval $EDITOR $budspencer_tmpfile + set -l IFS '' if [ -s $budspencer_tmpfile ] commandline (sed 's|^\s*||' $budspencer_tmpfile) else