aboutsummaryrefslogtreecommitdiff
path: root/sh/logout
blob: 4da61192da0e42405a03b37da35fcabfa2de3204 (plain) (blame)
1
2
# Write PWD to a file if set
printf '%s\n' "$PWD" >"${OLDPWD_FILE:-"$HOME"/.oldpwd}"