mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2025-02-02 09:03:22 +08:00
commit
1e0f55a727
|
@ -502,6 +502,7 @@ end
|
|||
function __budspencer_edit_commandline -d 'Open current commandline with your editor'
|
||||
commandline > $budspencer_tmpfile
|
||||
eval $EDITOR $budspencer_tmpfile
|
||||
set -l IFS ''
|
||||
if [ -s $budspencer_tmpfile ]
|
||||
commandline (sed 's|^\s*||' $budspencer_tmpfile)
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue
Block a user