summaryrefslogtreecommitdiff
path: root/d
diff options
context:
space:
mode:
Diffstat (limited to 'd')
-rwxr-xr-xd2
1 files changed, 2 insertions, 0 deletions
diff --git a/d b/d
index 774e969..982e885 100755
--- a/d
+++ b/d
@@ -1,3 +1,5 @@
+# Smart directory changer using the power of grep ;)
+# source in a function j() { cd `d $*`} or some such
#!/bin/bash
[ "$1" = "$HOME" ] && echo $HOME && exit
fl="$HOME/.local/share/dir_lst";[ ! -f "$fl" ] && touch "$fl"