-
-
Notifications
You must be signed in to change notification settings - Fork 273
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
[Feature] Module for screen session #283
Comments
I have not tested this fully, but you can use the function _update_ps1() {
PS1="$($GOPATH/bin/powerline-go -error $? -jobs $(jobs -p | wc -l) \
-cwd-mode plain \
-colorize-hostname \
-numeric-exit-codes \
-shell-var STY \
-shell-var-no-warn-empty \
-modules time,venv,user,host,shell-var,cwd,perms,git,hg,jobs,exit )"
}
Without screen:see: #276 Inside a screen session: |
@CWempe I've put a PR for this some time back, but nice to know it could also be solved without. The one downside for me is that including both id and name is fairly long |
I agree. A dedicated module would be best. Maybe you could add an option to your PR to show/hide the id? |
Can you pass options to modules or would it have to be a separate module? Admittedly I don't know if anyone uses screen with just the number id's, |
I don't know. I assumed so. 😄
But maybe nobody cares. |
It would be very convenient to have :)
The text was updated successfully, but these errors were encountered: