-
Notifications
You must be signed in to change notification settings - Fork 16
Tmux 2.3 problem #39
Comments
Hi, Did you use the default or custom installation? I tested tmux-gitbar on tmux 2.3 and I use versions 1.9 and 2.0 everyday. |
I used the deafult installation.
|
Ok thanks, I forgot to ask you, what is your default shell? Bash or |
It's bash |
Ok i just tried with set -x
~/.tmux-gitbar/update-gitbar Can you see something? |
Yes. It's working after running |
Uhm, i can't seem to see which obvious thing it is, let me sum up:
From what i understand, the tmux-gitbar specific $PROMPT_COMMAND, which should simply call |
In my .bashrc I set something for I removed |
Glad to hear it's working for you now. Just so you know, you don't have to remove your export PROMPT_COMMAND=my_prompt_cmd This will be run by tmux each time it creates a new window, and will reset any previously set Instead, if you add something like that in your my_prompt_cmd=date
if ! echo $PROMPT_COMMAND | grep "$my_prompt_cmd" -q ; then
export PROMPT_COMMAND="$my_prompt_cmd;$PROMPT_COMMAND"
fi This checks if the
|
@aurelien-rainone this is my .bash_profile how can I configure it like you pointed. Could you help me?
|
From what i understand, your So i would remove both lines starting with # check if tab_title has already been installed as PROMPT_COMMAND
if ! echo $PROMPT_COMMAND | grep "tab_title" -q ; then
export PROMPT_COMMAND="tab_title;$PROMPT_COMMAND"
fi
# defines my bash prompt
prompt |
I removed
and set as you say but now bash cannot change the RVM ruby gemset name. |
Ok, so if ! echo $PROMPT_COMMAND | grep "tab_title;prompt" -q ; then
export PROMPT_COMMAND="tab_title;prompt;$PROMPT_COMMAND"
fi |
Ok thank you for your all help 🍰 🍵 |
You're welcome |
Hi,
I did everthing on README but it cannot display in a project which has git repo. I am using tmux 2.3. How can I fix the problem?
The text was updated successfully, but these errors were encountered: