oh-my-fish/plugins/osx/pushdf.fish

12 lines
234 B
Fish
Raw Normal View History

# pushd to the current Finder directory
function pushdf
if count $argv >/dev/null
switch $argv[1]
case -d --description
echo "pushd to the current Finder directory"
return 0
end
end
pushd (pfd)
end