mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-02 11:47:15 +08:00
commit
1e0f55a727
|
@ -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…
Reference in New Issue
Block a user