bash-powerline
bash-powerline copied to clipboard
Powerline-style Bash prompt in pure Bash script. See also https://github.com/riobard/zsh-powerline
The change adds support for python virtual environments.
`XTERM_TITLE='\[\e]0;\u@\H: \w\a\]'` then change `PS1="$XTERM_TITLE$cwd$git$symbol"` (I am too lazy to do a pull request)
Could we show git stash status on the prompt too?
This allows bash-powerline to work on macOS, which has Bash 3.
On my centos 6.9 machine, git symbolic-ref doesn't have the --short option. One way to accommodate for older git versions is ```$($git_eng rev-parse --abbrev-ref 2>/dev/null)```. Or i could have just...
Based on ideas from intinig/bash-powerline and Hexcles/bash-powerline: - https://github.com/riobard/bash-powerline/pull/11/commits/665c2113bc0b0f13990db29a9aaa62b342156572 - https://github.com/riobard/bash-powerline/pull/9/commits/43e67c6e22b414582a4a07261536c13e8f42f96d
Using a default terminal, after sourcing a python virtual environment script ``` cd ~ mkdir folder cd folder python -m venv venv source ven/bin/activate ``` This action modifies the bash...