PS1 generator
xta.github.io
PS1 generator
1–10 of 30 posts
Re: PS1 generator
#2Feature suggestion: It would be great to be able to change the colors of the individual components a la https://github.com/twolfson/sexy-bash-prompt
Re: PS1 generator
#31. Items shouldn't disappear from the selection (I can only add one (space) for some reason).
2. Allow grouping of items. For example, if you want to have [time] you should be able to drag the "[", "time", and "]" as a group instead of individually.
Re: PS1 generator
#4Re: PS1 generator
#5Very cool! Feature suggestion: It would be great to be able to change the colors of the individual components a la https://github.com/twolfson/sexy-bash-prompt
Re: PS1 generator
#6Re: PS1 generator
#7Very cool! Feature suggestion: It would be great to be able to change the colors of the individual components a la https://github.com/twolfson/sexy-bash-prompt
Re: PS1 generator
#8This:
export PS1="\h:\W\$(parse_git_branch) \u$ "
will execute parse_git_branch only once (at the time PS1 is set) but this: export PS1='\h:\W\$(parse_git_branch) \u$ '
will execute it every time the prompt every time.Re: PS1 generator
#9It should probably emit the example PS1 with single quotes instead of double quotes. This: export PS1="\h:\W\$(parse_git_branch) \u$ " will execute parse_git_branch only once (at the time PS1 is set) but this: export PS1='\h:\W\$(parse_git_branch) \u$ ' will execute it every time the prompt every time.
Re: PS1 generator
#10export PS1="\[\e[30;0m\]\w^$ \v\h\u\W\u:\[\e[0m\]"