Reset LP_OLD_PWD on startup

Reset the LP_OLD_PWD variable on startup.
This makes debugging easier: previously we had to change directory
after a reload to see the changes of the new code for the PWD-cached
parts.
This commit is contained in:
Olivier Mengué 2013-12-16 22:23:11 +01:00
parent 7d2c1b0ce7
commit f38be781bc

View File

@ -130,6 +130,8 @@ case "$LP_OS" in
}
esac
# Reset so all PWD dependent variables are computed after loading
unset LP_OLD_PWD
#################
# CONFIGURATION #