config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 6b8d53938b2f3f2c1aecdbeb1d3b20f01bc219c0
parent 458f5293398525ea3f67e5009901abc8b26e90fa
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Sat, 27 Mar 2021 04:08:30 -0700

Have cd log to the same file regardless of shell

Diffstat:
Mlocal/shell/.config/shell/cd | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/local/shell/.config/shell/cd b/local/shell/.config/shell/cd @@ -1,6 +1,6 @@ # cd shell functions -PWDLOG="${XDG_DATA_HOME:-$HOME/.local/share}/$(basename $0)/cd" +PWDLOG="${XDG_DATA_HOME:-$HOME/.local/share}/cd" cd() { builtin cd "$@" && echo "$PWD" >>"$PWDLOG" ;} cdl() { uniq <"$PWDLOG" | stest -d ;}