mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-01 21:21:15 -03:00
Revert "Switch to bare vars in our math invocations"
This reverts commit bd18736ee5.
Bare variables should only be used in commands that must
manipulate the variable stack, such as `set`.
This commit is contained in:
@@ -98,10 +98,10 @@ function __fish_umask_parse
|
||||
set val 4
|
||||
end
|
||||
if string match -q '*w*' $perms
|
||||
set val (math val + 2)
|
||||
set val (math $val + 2)
|
||||
end
|
||||
if string match -q '*x*' $perms
|
||||
set val (math val + 1)
|
||||
set val (math $val + 1)
|
||||
end
|
||||
|
||||
for j in $scopes_to_modify
|
||||
|
||||
Reference in New Issue
Block a user