blob: f8b8a5328ef4394f79269ce4983903e1c1151eb7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
function popd -d (_ "Pop dir from stack")
if test $dirstack[1]
cd $dirstack[1]
else
printf (_ "%s: Directory stack is empty...") popd
return 1
end
set -e dirstack[1]
end
|