mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-27 14:45:13 +08:00
Fix out of scope opt variable (#10020)
* Fix out of scope opt variable * Update ls.fish
This commit is contained in:
parent
098b7093da
commit
a809672412
@ -49,6 +49,7 @@ function ls --description "List contents of directory"
|
|||||||
# Set the colors to the default via `dircolors` if none is given.
|
# Set the colors to the default via `dircolors` if none is given.
|
||||||
__fish_set_lscolors
|
__fish_set_lscolors
|
||||||
|
|
||||||
|
set -l opt
|
||||||
isatty stdout
|
isatty stdout
|
||||||
and set -a opt -F
|
and set -a opt -F
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user