mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-09 19:55:20 +08:00

This conditionally set a function variable in an unsafe way. If you do something like ```fish if condition set -f foo bar end ``` then, if the condition was false, $foo could still use a global variable. In this case, alias would now fail if a variable $wraps was defined globally. This reverts most of commit 14458682d9e86c969284fbc77d1fbf36ca4a82b8. The message rewording can stay, it's *fine* (tho it'll break the translations but then we'd need a real string freeze with a translation team for those to be worth anything anyway, soo)