From 9619ccb371708d76755a2a1bc61d2510760066a6 Mon Sep 17 00:00:00 2001 From: Joseph Date: Fri, 6 Mar 2015 14:17:44 +0100 Subject: [PATCH] Bugfix for budspencer theme Fixes https://github.com/fish-shell/fish-shell/issues/1964 --- themes/budspencer/fish_prompt.fish | 1 + 1 file changed, 1 insertion(+) diff --git a/themes/budspencer/fish_prompt.fish b/themes/budspencer/fish_prompt.fish index 05fed2b..52b1af6 100644 --- a/themes/budspencer/fish_prompt.fish +++ b/themes/budspencer/fish_prompt.fish @@ -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