7 lines
229 B
Fish
7 lines
229 B
Fish
function go --description 'Jump to directories'
|
|
lr /home /data /etc -L -t '(name ~~ ".*" && prune || print) && type = d && !(name = ".git")' \
|
|
| fzf --height 10 \
|
|
| read -l dir
|
|
[ "$dir" ]; and cd $dir
|
|
end
|