Merge pull request #401 from tannhuber/master

Fixes a small bug
This commit is contained in:
Jorge Bucaran 2015-03-07 00:12:00 +09:00
commit 1e0f55a727

View File

@ -502,6 +502,7 @@ end
function __budspencer_edit_commandline -d 'Open current commandline with your editor' function __budspencer_edit_commandline -d 'Open current commandline with your editor'
commandline > $budspencer_tmpfile commandline > $budspencer_tmpfile
eval $EDITOR $budspencer_tmpfile eval $EDITOR $budspencer_tmpfile
set -l IFS ''
if [ -s $budspencer_tmpfile ] if [ -s $budspencer_tmpfile ]
commandline (sed 's|^\s*||' $budspencer_tmpfile) commandline (sed 's|^\s*||' $budspencer_tmpfile)
else else