Commit 1e0f55a7 authored by Jorge Bucaran's avatar Jorge Bucaran

Merge pull request #401 from tannhuber/master

Fixes a small bug
parents c5ac1c8a 9619ccb3
...@@ -502,6 +502,7 @@ end ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment