Bugfix for budspencer theme

Fixes https://github.com/fish-shell/fish-shell/issues/1964
This commit is contained in:
Joseph 2015-03-06 14:17:44 +01:00
parent c5ac1c8a4f
commit 9619ccb371

View File

@ -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