mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-15 06:32:57 +00:00
11 lines
220 B
Fish
11 lines
220 B
Fish
if test -z $directory
|
|
set directory "$HOME"
|
|
end
|
|
if ! test -d $directory
|
|
echo "Directory not found: $directory"
|
|
return 1
|
|
end
|
|
set jump (fd -t d . $directory | fzf)
|
|
and cd $jump $argv
|
|
and commandline -f execute
|