Update fish config.

gls alias implementing a smarter git ls-files, taken from [1], since we
don't want submodules when listing files to be processed as text.

[1] https://stackoverflow.com/a/51758365
This commit is contained in:
Érico Nogueira 2023-12-12 12:14:14 -03:00
parent 9d26d97724
commit 2816d5c1a6
1 changed files with 1 additions and 0 deletions

View File

@ -23,6 +23,7 @@ alias cargotmp='env CARGO_TARGET_DIR=/tmp/cargo/(basename (pwd)) cargo'
alias rebase-up='git pull upstream master --rebase --autostash'
alias gg='git grep'
alias gls='git grep --cached -l ""'
alias podman-i='podman run --rm --detach-keys="ctrl-a,d" -t -a stdin -a stdout -a stderr --mount type=bind,source=$PWD,destination=$PWD --workdir=$PWD'