diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-17 20:17:11 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-17 20:17:11 -0500 |
commit | 88af954a0b807a0adcafe600f6e2e30b640c3f04 (patch) | |
tree | a1cc84eed0a2cf5010ee67d5ddbfda233e203d1b | |
parent | 0572cef195ae88a7f847ab380fedde754ec696d2 (diff) | |
download | tdebase-88af954a0b807a0adcafe600f6e2e30b640c3f04.tar.gz tdebase-88af954a0b807a0adcafe600f6e2e30b640c3f04.zip |
Fix typos in konsole tips.
Thanks to David C. Rankin.
-rw-r--r-- | konsole/tips | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/konsole/tips b/konsole/tips index 9e95bf4a9..1176417fd 100644 --- a/konsole/tips +++ b/konsole/tips @@ -178,21 +178,21 @@ text while pressing the Shift key? <tip category="Konsole"> <html> <p>...that you can let Konsole set the current directory as the window title? -For Bash, put 'export PS1=$PS1"\[\e]0;\H:\w\a\]"' in your ~/.bashrc . +For Bash, put 'export PS1=$PS1"\[\e[0m\H:\w\a\]"' in your ~/.bashrc . </html> </tip> <tip category="Konsole"> <html> <p>...that you can let Konsole set the current directory as the session name? -For Bash, put 'export PS1=$PS1"\[\e]30;\H:\w\a\]"' in your ~/.bashrc . +For Bash, put 'export PS1=$PS1"\[\e[30m\H:\w\a\]"' in your ~/.bashrc . </html> </tip> <tip category="Konsole"> <html> <p>...that if you let your shell pass the current directory to Konsole within the prompt -variable, e.g. for Bash with 'export PS1=$PS1"\[\e]31;\w\a\]"' in your ~/.bashrc, then +variable, e.g. for Bash with 'export PS1=$PS1"\[\e[31m\w\a\]"' in your ~/.bashrc, then Konsole can bookmark it, and session management will remember your current working directory on non-Linux systems too? </html> @@ -200,6 +200,24 @@ on non-Linux systems too? <tip category="Konsole"> <html> +<p>...that working with remote hosts in Konsole can be made much easier by setting the +prompt to correctly show your hostname and present path? Try setting your prompt in our +~/.bashrc with: "export PS1='\[\e[0m\h:\w> '" You can then just select your prompt and +press middle-mouse to paste it as the source or destination on the command line. +</html> +</tip> + +<tip category="Konsole"> +<html> +<p>...that you can temporarily set the prompt for Konsole by setting the 'PS1=' variable +without having to edit your ~/.bashrc. Try entering the following on the command line to +set your prompt. It will also include the current time before the path: +PS1='\[\e[0;37m\]\A\[\e[1;34m\] \[\e[1;34m\]\h:\w> \[\e[0m\]' +</html> +</tip> + +<tip category="Konsole"> +<html> <p>...that double-clicking will select a whole word? <p>When you don't release the mouse button after the second click you can extend your selection by additional words when moving the mouse. |