mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 21:03:12 +00:00
parent
a700acadfa
commit
4d4227e57f
1 changed files with 2 additions and 2 deletions
|
@ -148,8 +148,8 @@ function __fish_git_files
|
|||
# and so git shows untracked files (even in untracked dirs) for that.
|
||||
# If the current token is empty, this matches everything in $PWD.
|
||||
set -l files (commandline -ct)
|
||||
# With the trailing "/", it will match directories, but won't descend.
|
||||
set files "$files*" "$files*/"
|
||||
# The trailing "**" is necessary to match files inside the given directories.
|
||||
set files "$files*" "$files*/**"
|
||||
set -q untracked; and set -a status_opt -unormal
|
||||
or set -a status_opt -uno
|
||||
|
||||
|
|
Loading…
Reference in a new issue