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