Skip to content
Snippets Groups Projects
Commit 9619ccb3 authored by Joseph's avatar Joseph
Browse files

Bugfix for budspencer theme

Fixes https://github.com/fish-shell/fish-shell/issues/1964
parent c5ac1c8a
No related merge requests found
...@@ -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
......
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