oh-my-fish/plugins/jump/unmark.fish

14 lines
307 B
Fish
Raw Normal View History

2013-12-11 01:55:51 +00:00
function unmark
2014-01-10 04:30:20 +00:00
if test (count $argv) -eq 0
echo "Usage: unmark <MARK_NAME>..."
else
for mark_name in $argv
if test -d $MARKPATH/$mark_name -a -L $MARKPATH/$mark_name
command rm -i $MARKPATH/$mark_name
else
echo "No such mark: $mark_name"
end
2013-12-11 01:55:51 +00:00
end
2014-01-10 04:30:20 +00:00
end
2013-12-11 01:55:51 +00:00
end