commit 79882531a8dae6edb22e8fdb2488b37f4460f9fb
parent 2ca3c0027be31f22e7dc464412fd4a745a95c160
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date: Mon, 30 Aug 2021 21:55:19 -0700
Fix rc profile
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/local/rc/lib/profile b/local/rc/lib/profile
@@ -1,8 +1,8 @@
# rc profile
+# plan9[port]
PLAN9 = /usr/local/plan9/
font = $PLAN9/font/misc/unicode.6x13.font
-dirlog = $XDG_DATA_HOME/cd
# rc
path = (. $home/local/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin\
@@ -33,6 +33,7 @@ MANPREFIX = /usr/local/man/
PREFIX = /usr/local/
# cd
+dirlog = $XDG_DATA_HOME/cd
fn cd { builtin cd $* && pwd >>$dirlog }
fn cdl { uniq <$dirlog | stest -d }
fn cdr { cd `{ cdl | egrep $* | tail -1 } }