summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/ksh/ksh.kshrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.config/ksh/ksh.kshrc b/.config/ksh/ksh.kshrc
index 4f8026a..79bec0a 100644
--- a/.config/ksh/ksh.kshrc
+++ b/.config/ksh/ksh.kshrc
@@ -1,3 +1,5 @@
+..() { set -- ".." "$@"; for up; do cd $up; done; }
+
lfcd () {
tmp="$(mktemp -uq)"
trap 'rm -f $tmp >/dev/null 2>&1 && trap - HUP INT QUIT TERM PWR EXIT' HUP INT QUIT TERM PWR EXIT