do not follow symlinks in go
This commit is contained in:
parent
62f76f412c
commit
9a6cab28d9
2
bashrc
2
bashrc
@ -79,7 +79,7 @@ alias stop-after-this-song="mpc single && mpc idle && mpc single"
|
|||||||
alias morning="maintain && gitfetcher"
|
alias morning="maintain && gitfetcher"
|
||||||
|
|
||||||
go() {
|
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 \
|
| fzf --height 10 \
|
||||||
)"
|
)"
|
||||||
[ -n "$dir" ] && cd "$dir" || false
|
[ -n "$dir" ] && cd "$dir" || false
|
||||||
|
Loading…
Reference in New Issue
Block a user