Merge pull request #1717 from teozkr/fix/fish-2.5.0-eval
Fish bindings: replace eval with source
This commit is contained in:
commit
0eb2bae904
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue