Don't use .gitignore for p completion
This commit is contained in:
parent
7b5cd4f115
commit
3df3f67c11
2
.zshrc
2
.zshrc
@ -98,7 +98,7 @@ function p {
|
|||||||
|
|
||||||
if [[ $(command -v fd) ]]; then
|
if [[ $(command -v fd) ]]; then
|
||||||
function _p {
|
function _p {
|
||||||
compadd $(fd --max-depth=1 --type=d . $DEVPATH | xargs basename -a)
|
compadd $(fd --no-ignore --max-depth=1 --type=d . $DEVPATH | xargs basename -a)
|
||||||
}
|
}
|
||||||
|
|
||||||
compdef _p p
|
compdef _p p
|
||||||
|
Loading…
Reference in New Issue
Block a user