-
-
Notifications
You must be signed in to change notification settings - Fork 666
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
themes/powerline: Set terminal title #161
base: master
Are you sure you want to change the base?
Conversation
The PR title says that it tries to fix an error, but I don't see how this PR fixes an error. Could you describe what has been the error, and how the error is fixed in this PR? Also, this PR seems to change the style as well, which is unrelated to the purpose of the PR. |
@mengruxing Thank you for updating the PR. I would like to confirm that you intentionally updated the branch |
I again looked at this PR. As far as I check the commit history, I think the original patch was 7f4c2f3. diff --git a/themes/brainy/brainy.theme.sh b/themes/brainy/brainy.theme.sh
index 90c747f..e442ea7 100644
--- a/themes/brainy/brainy.theme.sh
+++ b/themes/brainy/brainy.theme.sh
@@ -289,7 +289,7 @@ function __brainy_ps2 {
function _omb_theme_PROMPT_COMMAND {
exitcode="$?"
- PS1="$(__brainy_ps1)"
+ PS1="\[\e]0;\u@\h: \w\a\]$(__brainy_ps1)"
PS2="$(__brainy_ps2)"
}
Since this PR was made based on the On the other hand, a similar feature is available with the I'd add the |
rebased. |
color=$_omb_prompt_bold_brown | ||
color=$_omb_prompt_bold_purple |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems unrelated to setting the terminal title.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I commented on #161 (comment), these changes are likely to be their personal settings, but not the changes intended for the PR.
THEME_SHOW_PYTHON=${THEME_SHOW_PYTHON:-"false"} | ||
THEME_SHOW_PYTHON=${THEME_SHOW_PYTHON:-"true"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also seems unrelated to the title.
No description provided.