aboutsummaryrefslogtreecommitdiff
path: root/modules/base/fish/functions/__skim_cd.fish
blob: b4ae4234bed9384ab032d20e1ccca3018bbb3d4e (plain)
1
2
3
4
5
6
function __skim_cd --description "run fzf to find a directory to `cd` into"
  set directory (find . -type d | fzf --reverse --height=15)
  if test $status -eq 0
    cd $directory
  end
end