mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-03 16:48:45 +00:00
Fix out of scope opt variable (#10020)
* Fix out of scope opt variable
* Update ls.fish
(cherry picked from commit a809672412
)
This commit is contained in:
parent
11304f00cf
commit
4b12671b1c
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue