bashrc separated into files
[dotfiles/.git] / .config / bashrc / promts
1 #!/bin/bash
2
3 # personalized ps1 #################################################################################
4
5 # declares an array with the emojis we want to support
6 EMOJIS=(👻 💀 👽 👾 🎃 😎 🧠 🦘 🦍 🎻)
7
8 # selects a random element from the EMOJIS set
9 SELECTED_EMOJI=${EMOJIS[$RANDOM % ${#EMOJIS[@]}]};
10 # declare the terminal prompt format
11 #export PS1='${SELECTED_EMOJI}  [\u@\h \W]$ '
12 #export PS1="\e[1;90m[\$?]\e[m\e[1;92m\[$(tput bold)\]\u@\h\e[m\[$(tput sgr0)\]:\e[0;36m\w\e[m\n\\$";
13 export PS1="\e[1;90m[\$?]\e[m\e[1;92m\[$(tput bold)\]\u@\h\e[m\[$(tput sgr0)\]:\e[0;36m\w\e[m\n${SELECTED_EMOJI}";
14
15
16 ####################################################################################################
17
18 cat ~/.cache/wal/sequences & #This imports the theme from the last pywal
19
20
21 #export PS1="\[\033[38;5;247m\][\$?]\[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;40m\]\u@\h\[$(tput sgr0)\]:\[$(tput sgr0)\]\[\033[38;5;45m\]\w\[$(tput sgr0)\]\n\\$\[$(tput sgr0)\]"
22
23 #figlet de mi nombre
24 whoami | figlet Josuer08 | lolcat -F 0.25;