correctly prune git-directories for go
This commit is contained in:
parent
14ac88d012
commit
f151dfedb6
@ -1,5 +1,5 @@
|
|||||||
function go --description 'Jump to directories'
|
function go --description 'Jump to directories'
|
||||||
lr /home /data /etc -L -t '(name ~~ "^\." && prune || print) && type = d && !(name = ".git")' \
|
lr /home /data /etc -L -t '(name ~~ ".*" && prune || print) && type = d && !(name = ".git")' \
|
||||||
| fzf \
|
| fzf \
|
||||||
| read -l dir
|
| read -l dir
|
||||||
[ "$dir" ]; and cd $dir; and clear
|
[ "$dir" ]; and cd $dir; and clear
|
||||||
|
Loading…
Reference in New Issue
Block a user