Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # ___ __ __ ___ ____
- # / _ )/ /__ ____/ /__ ( _ )|_ /
- # / _ / / _ `/ _ / -_) _ |/_ <
- # /____/_/\_,_/\_,_/\__/\___/____/
- # LINUX StYE sEttIngS
- # => Web ......... http://cplusplus-development.de |
- # => Mail ........................ mail@blade83.de |
- # => (c) ............... 2005-2014 Johannes Krämer |
- clear
- # Figlet installiert und ausfuehrbar
- if [ -x "$(which figlet -v)" ]; then
- figlet -f smslant " Blade83"
- fi
- echo -e " (`. ,-,"
- echo -e " . ,;' /"
- echo -e " `. ,'/ .'"
- echo -e " `. X /.'"
- echo -e " .-;--''--.._` ` ("
- echo -e " .' / `"
- echo -e " , ` ' Q '"
- echo -e " , , `._ \"
- echo -e " ,.| ' `-.;_'"
- echo -e " : . ` ; ` ` --,.._;"
- echo -e " ' ` , ) .'"
- echo -e " `._ , ' /_"
- echo -e " ; ,''-,;' -"
- echo -e " ``-..__``--`\n\n"
- set_prompt () {
- Last_Command=$?
- Blue='\[\e[01;34m\]'
- White='\[\e[01;37m\]'
- Red='\[\e[01;31m\]'
- Green='\[\e[01;32m\]'
- Reset='\[\e[00m\]'
- FancyX='\342\234\227'
- Checkmark='\342\234\223'
- PS1="$White\$? "
- if [[ $Last_Command == 0 ]]; then
- PS1+="$Green$Checkmark "
- else
- PS1+="$Red$FancyX "
- fi
- if [[ $EUID == 0 ]]; then
- PS1+="$Red\\h "
- else
- PS1+="$Green\\u@\\h "
- fi
- PS1+="$Blue\\w \\\$$Reset "
- }
- PROMPT_COMMAND='set_prompt'
- #alias c5console='php -dauto_prepend_file=/var/www/html/c5console.php -a'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement