bash: note that prompt.bash needs tweaking
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
prompt() {
|
prompt() {
|
||||||
|
# TODO needs rework for tmux, since I don't really use screen now.
|
||||||
if [ "$STY" != "" ] ; then
|
if [ "$STY" != "" ] ; then
|
||||||
SESSION_NAME=$(echo $STY | sed -e 's/^.*\.//')
|
SESSION_NAME=$(echo $STY | sed -e 's/^.*\.//')
|
||||||
SESSION="[$SESSION_NAME] "
|
SESSION="[$SESSION_NAME] "
|
||||||
|
|||||||
Reference in New Issue
Block a user