do not follow symlinks in go

This commit is contained in:
Felix Van der Jeugt 2017-10-30 23:20:35 +01:00
parent 62f76f412c
commit 9a6cab28d9
No known key found for this signature in database
GPG Key ID: 58B209295023754D
1 changed files with 1 additions and 1 deletions

2
bashrc
View File

@ -79,7 +79,7 @@ alias stop-after-this-song="mpc single && mpc idle && mpc single"
alias morning="maintain && gitfetcher"
go() {
dir="$(lr /home /data /etc -L -t '(name ~~ ".*" && prune || print) && type = d && !(name = ".git")' \
dir="$(lr /home /data /etc -t '(name ~~ ".*" && prune || print) && type = d && !(name = ".git")' \
| fzf --height 10 \
)"
[ -n "$dir" ] && cd "$dir" || false