function pushd -d (N_ "Push directory to stack")
# Comment to avoid set completions
set -g dirstack (command pwd) $dirstack
cd $argv[1]
end