-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's not exactly issue with program. But you .bashrc count line does not work properly. #7
Comments
As you overwrite $PS1 with this command Does the count update after adding a task? Does it update after deleting after you hit enter again? |
This is a bash question not a t issue so I think it can be closed. @polinom you are evaluating You need to instead set the expression into the PS1 env var so that it can be evaluated later. You either need to escape the |
Just sent a pull request to fix this. In the meantime, replace the line with the following: |
Did not know where to write but. So i decide here.
After i put this in .profile on Lion.
export PS1="[$(t | wc -l | sed -e's/ *//')] $PS1"
It's behavior is strange.
[1] [1] [1] [2] Igors-MacBook-Pro:tasks polinom$
here i run
source .profile
4 times.The text was updated successfully, but these errors were encountered: