Setting CurrentDir in prompt alters display
By bryanstea... on December 30, 2013 18:44 (imported from Google Code)
Just updated to nightly (1.0.0.20131229-nightly) to take advantage of the new shell integration features (which are really cool, by the way -- command-click to open a file has already come in handy!)
It seems that adding CurrentDir setting to the prompt is altering the way the prompt displays: the cursor isn't left in the right place. Removing CurrentDir again fixes the problem
With this setting in .bash_profile, the prompt correctly displays as "$ X" (where X is where the cursor is):
PS1='\033]50;SetMark\007\033]50;RemoteHost='$USER'@'Just updated to nightly (1.0.0.20131229-nightly) to take advantage of the new shell integration features (which are really cool, by the way -- command-click to open a file has already come in handy!)
It seems that adding CurrentDir setting to the prompt is altering the way the prompt displays: the cursor isn't left in the right place. Removing CurrentDir again fixes the problem
With this setting in .bash_profile, the prompt correctly displays as "$ X" (where X is where the cursor is):
PS1='\033]50;SetMark\007\033]50;RemoteHost='$USER'@'hostname -fJust updated to nightly (1.0.0.20131229-nightly) to take advantage of the new shell integration features (which are really cool, by the way -- command-click to open a file has already come in handy!)
It seems that adding CurrentDir setting to the prompt is altering the way the prompt displays: the cursor isn't left in the right place. Removing CurrentDir again fixes the problem
With this setting in .bash_profile, the prompt correctly displays as "$ X" (where X is where the cursor is):
PS1='\033]50;SetMark\007\033]50;RemoteHost='$USER'@'`hostname -f'\007$ '
But if I add CurrentDir to the end like this, the prompt incorrectly shows up with the cursor on top of the "": PS1='\033]50;SetMark\007\033]50;RemoteHost='USER'@'Just updated to nightly (1.0.0.20131229-nightly) to take advantage of the new shell integration features (which are really cool, by the way -- command-click to open a file has already come in handy!)
It seems that adding CurrentDir setting to the prompt is altering the way the prompt displays: the cursor isn't left in the right place. Removing CurrentDir again fixes the problem
With this setting in .bash_profile, the prompt correctly displays as "$ X" (where X is where the cursor is):
PS1='\033]50;SetMark\007\033]50;RemoteHost='$USER'@'hostname -f
'\007$ '
But if I add CurrentDir to the end like this, the prompt incorrectly shows up with the cursor on top of the "": PS1='\033]50;SetMark\007\033]50;RemoteHost='USER'@'hostname -fJust updated to nightly (1.0.0.20131229-nightly) to take advantage of the new shell integration features (which are really cool, by the way -- command-click to open a file has already come in handy!)
It seems that adding CurrentDir setting to the prompt is altering the way the prompt displays: the cursor isn't left in the right place. Removing CurrentDir again fixes the problem
With this setting in .bash_profile, the prompt correctly displays as "$ X" (where X is where the cursor is):
PS1='\033]50;SetMark\007\033]50;RemoteHost='$USER'@'hostname -f
'\007$ '
But if I add CurrentDir to the end like this, the prompt incorrectly shows up with the cursor on top of the "": PS1='\033]50;SetMark\007\033]50;RemoteHost='USER'@'`hostname -f'\007\033]50;CurrentDir=$PWD\007$ '
I note that I'm using the old-fashioned PS1 setting, not PROMPT_COMMAND like you show on the wiki page; this is only because I modified my existing prompt setting (which is much longer than what I've shown here, which I simplified to just show the problem) to just add the new escape codes -- dunno whether that makes a difference.