You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
270 B
Fish
12 lines
270 B
Fish
11 years ago
|
function jump
|
||
|
if test (count $argv) -ne 1
|
||
|
echo "Usage: jump <MARK_NAME>"
|
||
|
else
|
||
|
if test -d $MARKPATH/$argv[1] -a -L $MARKPATH/$argv[1]
|
||
|
cd $MARKPATH/$argv[1]
|
||
|
else
|
||
|
echo "No such mark: $argv[1]"
|
||
|
end
|
||
|
end
|
||
|
end
|