Skip to content

eugenio-cunha/welcome

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

welcome

Cool Custom Welcome Messages on Linux terminal

Add in .bashrc

function welcome() {

  text="░██╗░░░░░░░██╗███████╗██╗░░░░░░█████╗░░█████╗░███╗░░░███╗███████╗\n"
  text+="░██║░░██╗░░██║██╔════╝██║░░░░░██╔══██╗██╔══██╗████╗░████║██╔════╝\n"
  text+="░╚██╗████╗██╔╝█████╗░░██║░░░░░██║░░╚═╝██║░░██║██╔████╔██║█████╗░░\n"
  text+="░░████╔═████║░██╔══╝░░██║░░░░░██║░░██╗██║░░██║██║╚██╔╝██║██╔══╝░░\n"
  text+="░░╚██╔╝░╚██╔╝░███████╗███████╗╚█████╔╝╚█████╔╝██║░╚═╝░██║███████╗\n"
  text+="░░░╚═╝░░░╚═╝░░╚══════╝╚══════╝░╚════╝░░╚════╝░╚═╝░░░░░╚═╝╚══════╝\n"
  user_name="$(getent passwd $USER | cut -d ':' -f 5)"
  version="$(uname -mrs)"
  printf "TERMINAL $version\n\n$text\n[Mr. $user_name]>_ Supreme Master of the Universe\n\n";
}

welcome

Sample

Welcome

Change Terminal

if [ "$color_prompt" = yes ]; then
    PS1='[${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]\[\033[01;34m\] \W\[\033[00m\]]>'
else
    PS1='[${debian_chroot:+($debian_chroot)}\u@\h \W]>'
fi

About

Cool Custom Welcome Messages on Linux terminal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages