aboutsummaryrefslogtreecommitdiff
path: root/bash/bash_logout
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-19 23:58:25 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-20 00:07:15 +1200
commit88e4b992d90f2a7283058a1a93c388a9576bad5b (patch)
treee1716501ae3f3ebef491065885df56a81eeeb377 /bash/bash_logout
parentRemove debugging code from eds(1) (diff)
downloaddotfiles-88e4b992d90f2a7283058a1a93c388a9576bad5b.tar.gz
dotfiles-88e4b992d90f2a7283058a1a93c388a9576bad5b.zip
Move OLDPWD setting to POSIX sh dir
With an attempt at correct trapping; may still require tweaking
Diffstat (limited to 'bash/bash_logout')
-rw-r--r--bash/bash_logout3
1 files changed, 0 insertions, 3 deletions
diff --git a/bash/bash_logout b/bash/bash_logout
index e8137e55..afb088b8 100644
--- a/bash/bash_logout
+++ b/bash/bash_logout
@@ -12,6 +12,3 @@ fi
if ((SHLVL == 1)) ; then
clear_console -q 2>/dev/null
fi
-
-# Write PWD to a file if set
-printf '%s\n' "$PWD" > "${OLDPWD_FILE:-$HOME/.oldpwd}"