Skip to content

Commit

Permalink
Fix whitespace issue in PS1
Browse files Browse the repository at this point in the history
  • Loading branch information
skral committed Mar 12, 2018
1 parent 54a7d41 commit ecaafe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rezplugins/shell/sh.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_startup_sequence(cls, rcfile, norc, stdin, command):

def _bind_interactive_rez(self):
if config.set_prompt and self.settings.prompt:
self._addline('if [ -z "$REZ_STORED_PROMPT" ]; then export REZ_STORED_PROMPT=$PS1; fi')
self._addline('if [ -z "$REZ_STORED_PROMPT" ]; then export REZ_STORED_PROMPT="$PS1"; fi')
if config.prefix_prompt:
cmd = 'export PS1="%s $REZ_STORED_PROMPT"'
else:
Expand Down

0 comments on commit ecaafe0

Please sign in to comment.