mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-31 12:46:56 +00:00
19 lines
449 B
Fish
19 lines
449 B
Fish
# @halostatue/fish-macos/functions/__macos_finder_pushd.fish:v7.0.0
|
|
|
|
function __macos_finder_pushd
|
|
argparse --name 'finder pushd' h/help -- $argv
|
|
or return 1
|
|
|
|
if set --query _flag_help
|
|
echo 'Usage: finder pushd [options] [window#]
|
|
|
|
Changes the current path to the path of the Finder window with pushd.
|
|
|
|
Options:
|
|
-h, --help Show this help'
|
|
return 0
|
|
end
|
|
|
|
pushd (__macos_finder_pwd::get $argv[1])
|
|
end
|