correctly prune git-directories for go
This commit is contained in:
parent
14ac88d012
commit
f151dfedb6
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
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 \
|
||||
| read -l dir
|
||||
[ "$dir" ]; and cd $dir; and clear
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue