We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
vcs_infoに状態によって色を付けたいが,現在うまく行っていない.
psvarの内容を%1vで出力すると,内容がエスケープされてしまうため色が出力されない. また,$psvar[1]で参照すると色は出るが,プロンプトの内容が切り替わらなくなる.
psvar
%1v
$psvar[1]
psvar[1]=$color$msg$reset_color PROMPT_F="%1(v|%1v|)"
psvar[1]=$color$msg$reset_color PROMPT_F="$psvar[1]"
psvar[1]="$vcs_info_msg_0_" psvar[2]="red" PROMPT_F="%2(v|$fg_bold[%2v]%1v|)"
The text was updated successfully, but these errors were encountered:
No branches or pull requests
vcs_infoに状態によって色を付けたいが,現在うまく行っていない.
psvar
の内容を%1v
で出力すると,内容がエスケープされてしまうため色が出力されない.また,
$psvar[1]
で参照すると色は出るが,プロンプトの内容が切り替わらなくなる.失敗例
The text was updated successfully, but these errors were encountered: