show 🔗 if in pzsh mode
This commit is contained in:
parent
789e653cde
commit
a24fbae64d
@ -257,4 +257,4 @@ alias dsrubocop='ds rubocop --require rubocop/formatter/junit_formatter \
|
|||||||
--require rubocop-performance \
|
--require rubocop-performance \
|
||||||
--format progress'
|
--format progress'
|
||||||
alias docker_purge='docker stop $(docker ps -qa);docker rm $(docker ps -qa)'
|
alias docker_purge='docker stop $(docker ps -qa);docker rm $(docker ps -qa)'
|
||||||
alias pzsh='proxychains zsh'
|
alias pzsh='USING_PROXYCHAINS=true proxychains zsh'
|
||||||
|
@ -68,6 +68,7 @@ function prompt_skwp_setup {
|
|||||||
zstyle ':prezto:module:ruby:info:version' format '[%v]'
|
zstyle ':prezto:module:ruby:info:version' format '[%v]'
|
||||||
|
|
||||||
PROMPT="${__PROMPT_SKWP_COLORS[3]}%n%f ${__PROMPT_SKWP_COLORS[5]}%~%f "'$git_info[prompt]'"$ "
|
PROMPT="${__PROMPT_SKWP_COLORS[3]}%n%f ${__PROMPT_SKWP_COLORS[5]}%~%f "'$git_info[prompt]'"$ "
|
||||||
|
[[ $USING_PROXYCHAINS == 'true' ]] && PROMPT="🔗 $PROMPT"
|
||||||
RPROMPT='%F{blue}${ruby_info[version]}'
|
RPROMPT='%F{blue}${ruby_info[version]}'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user