Open Tina-otoge opened 6 years ago
The current shell should display the currently selected branch.
~/Repositories/skielred/Dotfiles (master) [user@domain] % ls bash/ vim/ zsh/ 3 directories
Displaying the current branch should not affect the starting column for user input. Either use RPROMPT or display it on a new line.
RPROMPT
~/not/in/a/repo [user@domain] % cd ~/Repositories/skielred/Dotfiles ~/Repositories/skielred/Dotfiles [user@domain] (master) % cd vim
This is not ok!! Avoid changing the starting column for user input as much as possible, as it decreases readability of commands history drastically!!
The current shell should display the currently selected branch.
Targeted shells:
Features wanted
Example
Special notes
Displaying the current branch should not affect the starting column for user input. Either use
RPROMPT
or display it on a new line.This is not ok!! Avoid changing the starting column for user input as much as possible, as it decreases readability of commands history drastically!!