mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-21 03:21:16 -03:00
__fish_apropos: Don't overwrite $dir
This commit is contained in:
@@ -11,6 +11,7 @@ set -l sysver (uname -sr | string match -r "(Darwin) (\d\d)"\.)
|
||||
if test $status -eq 0 -a (count $sysver) -eq 3
|
||||
and test $sysver[2] = 'Darwin' -a $sysver[3] -ge 19
|
||||
|
||||
set -l dir
|
||||
if test -n "$XDG_CACHE_HOME"
|
||||
set dir $XDG_CACHE_HOME/fish
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user