Commit be4ac6bf authored by Pablo Aguiar's avatar Pablo Aguiar Committed by GitHub

Replace an eval call with a function declaration

parent 30f9c453
...@@ -8,11 +8,9 @@ set -q OMF_REPO_BRANCH; or set OMF_REPO_BRANCH "master" ...@@ -8,11 +8,9 @@ set -q OMF_REPO_BRANCH; or set OMF_REPO_BRANCH "master"
# fish_exit polyfill for Fish versions < 3. # fish_exit polyfill for Fish versions < 3.
if not set -q fish_pid if not set -q fish_pid
eval ' function fish_exit_polyfill --on-process-exit %self
function fish_exit_polyfill --on-process-exit %self emit fish_exit $argv[3]
emit fish_exit $argv[3] end
end
'
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment