Merge pull request #1717 from teozkr/fix/fish-2.5.0-eval

Fish bindings: replace eval with source
This commit is contained in:
Nikolai Aleksandrovich Pavlov 2017-04-01 15:28:10 +03:00 committed by GitHub
commit 0eb2bae904
1 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ function powerline-setup
set rpromptpast
set columnsexpr '(_powerline_columns)'
end
eval "
echo "
function fish_prompt
env \$POWERLINE_COMMAND $POWERLINE_COMMAND_ARGS shell $promptside $addargs
end
@ -73,7 +73,7 @@ function powerline-setup
function _powerline_set_columns --on-signal WINCH
set -g _POWERLINE_COLUMNS $columnsexpr
end
"
" | source
_powerline_set_columns
end
_powerline_set_default_mode