On Saturday 2009-10-10 23:24, Mike Frysinger wrote: >On Saturday 10 October 2009 17:14:30 jeng...@medozas.de wrote: >> >> Bash Version: 3.2 >> Patch Level: 39 >> Release Status: release >> >> Description: >> bash enters into an infinite loop when the environment variable PWD >> is unset. Probably not a smart thing to do, but since this variable >> is so important, it should probably be ensured that it does not get >> an empty value. (It does handle non-absolute paths in some random >> fashion, too.) >> >> Repeat-By: >> $ unset PWD > >works fine for me with bash-3.2_p39, 3.2_p48, and 4.0_p33. what are you using >for your shell prompts and/or your prompt commands ? in other words, post the >output of `set` before you run `unset PWD`.
This has been resolved. It seems to be one of my functions in PS1; resetting it to something simple like PS1="\w" and then unsetting PWD does complete.