decide on lr > find
This commit is contained in:
parent
eed51e13f3
commit
7417e0b3c4
1
zshrc
1
zshrc
@ -53,7 +53,6 @@ alias copy='urxvtc'
|
||||
|
||||
# FZF
|
||||
function go() {
|
||||
#dir="$(find -L /home /data /etc -name "\.*" -prune , -type d \! -name '.git' 2>/dev/null | fzf)"
|
||||
dir="$(lr /home /data /etc -L -t '(name ~~ "\.*" && prune || print) && type = d && !(name = ".git")' | fzf)"
|
||||
[ -n "$dir" ] && cd "$dir" || false
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user