Last active
June 21, 2022 07:53
-
-
Save lunarxlark/cff54630be72307635c89ae68b97a44d to your computer and use it in GitHub Desktop.
可愛いprompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if [ -e "~/git-completion.bash" ];then | |
source ~/git-completion.bash | |
fi | |
if [ -e "~/git-prompt.sh" ];then | |
source ~/git-prompt.sh | |
fi | |
PS1="\[\e[1;36m\]\u\[\e[0m\]" | |
PS1+="\[\e[1;31m\]@\[\e[0m\]" | |
PS1+="\[\e[1;33m\]\h\[\e[0m\] " | |
PS1+="\W" | |
PS1+="\[\e[33m\]\$(__git_ps1)\[\e[0m\] " | |
PS1+="\[\e[36m\][${AWS_PROFILE:-none}]\[\e[0m\] " | |
PS1+="\[\e[1;31m\][\[\e[0m\]" | |
PS1+="\d" | |
PS1+="\[\e[1;31m\]|\[\e[0m\]" | |
PS1+="\t" | |
PS1+="\[\e[1;31m\]]\[\e[0m\]" | |
PS1+="\n" | |
PS1+="\[\e[1;36m\](*'-')\[\e[0m\] " | |
PS1+="\[\e[1;31m\]<\[\e[0m\]" | |
PS1+="\[\e[1;33m\]<\[\e[0m\]" | |
PS1+="\[\e[1;36m\]<\[\e[0m\] " | |
echo "test from telescope-github" |
Author
lunarxlark
commented
Sep 27, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment