bin/diru in diru-0.1.2 vs bin/diru in diru-0.1.3
- old
+ new
@@ -413,11 +413,16 @@
end
# Get (and update) favorite.
def gfav( tag )
- "#{@rootpart}/#{@fav[ tag ]}"
+ dir = @fav[ tag ]
+ if dir[0..0] == "/"
+ dir
+ else
+ "#{@rootpart}/#{dir}"
+ end
end
# Return the whole fav.
def fav
@@ -1417,11 +1422,11 @@
dr s ! - reset (clear) Scratch Pad.
Lookup commands:
dr l - list all lookup <key>/<v> pairs.
-dr ! - remove all keys.
-dr ! <key> - remove <key>.
+dr l ! - remove all keys.
+dr l ! <key> - remove <key>.
dr l <key> - lookup value for <key>.
dr l <key> <v> - store value <v> for <key>.
Misc commands: