mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-24 04:19:40 +08:00
Bugfix for budspencer theme
Fixes https://github.com/fish-shell/fish-shell/issues/1964
This commit is contained in:
parent
c5ac1c8a4f
commit
9619ccb371
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user