Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## My PS1, requires Hack Nerd Font
- ps1_suffix () {
- if [[ -d ".git" ]]; then
- echo -e "\e[0;43m\e[0;33m\e[0;43m\e[1;30m \e[0;33m "
- else
- echo -e ""
- fi
- }
- PS1='\n\[\e[0;42m\e[0;32m\]\[\e[0;42m\e[1;30m\]\w\[\e[0;32m\]\[\e[0m\] $(ps1_suffix)\[\e[0m\]'
Advertisement
Add Comment
Please, Sign In to add comment