mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-02 02:41:15 -03:00
Use set -l to force use of a local variable
Bare set overwrites a global/universal variable if it exists.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
function __fish_gnu_complete -d "Wrapper for the complete built-in. Skips the long completions on non-GNU systems"
|
||||
set is_gnu 0
|
||||
set -l is_gnu 0
|
||||
|
||||
set -l argv_out
|
||||
|
||||
|
||||
Reference in New Issue
Block a user