Created
March 23, 2018 08:49
-
-
Save usernaamee/747c598e2783d1a2b3d44a6205c8895b to your computer and use it in GitHub Desktop.
some awesome ps1 prompts
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
function snip() { | |
PS1="\n\[\033[35m\]\$(/bin/date)\n\[\033[32m\]\w\n\[\033[1;31m\]\u@\h: \[\033[1;34m\]\$(/usr/bin/tty | /bin/sed -e 's:/dev/::'): \[\033[1;36m\]\$(/bin/ls -1 | /usr/bin/wc -l | /bin/sed 's: ::g') files \[\033[1;33m\]\$(/bin/ls -lah | /bin/grep -m 1 total | /bin/sed 's/total //')b\[\033[0m\] -> \[\033[0m\] " | |
} | |
function swog() { | |
PS1="\[\e[36;45m\]▓\[\e[m\]\[\e[36;45m\]▒\[\e[m\]\[\e[36;45m\]░\[\e[m\]\[\e[36;45m\]\u\[\e[m\]\[\e[36;45m\]@\[\e[m\]\[\e[36;45m\]\h\[\e[m\]\[\e[36;45m\]:\[\e[m\]\[\e[35;46m\]\w\[\e[m\]\[\e[35;46m\]░\[\e[m\]\[\e[35;46m\]▒\[\e[m\]\[\e[35;46m\]▓\[\e[m\]>>> " | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment