]> git.pld-linux.org Git - projects/setup.git/commit
PS1 it's shell specific and should not be exported!
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 11 Jun 2013 23:09:37 +0000 (23:09 +0000)
committerElan Ruusamäe <glen@pld-linux.org>
Tue, 11 Jun 2013 23:09:37 +0000 (23:09 +0000)
commitbb0d325b5b9ec09d386e30bf0d13442c091a5666
tree61c4e39d917eb7a8b344e1cf5cc4855719c7faf0
parente835525ad082968007b8fb009200c6b148ab1ae2
PS1 it's shell specific and should not be exported!

consider scenario: PS1 in mksh having bultin 'print':

  PS1=$(print "$PWD")

now, executing bash, which does not have 'print' builtin, and no no bashrc
present. bash would get invalid PS1 with mksh builtin 'print' and each prompt
giving error about command not found.

Changed files:
    etc/profile -> 1.59
etc/profile
This page took 0.695033 seconds and 4 git commands to generate.