commit 34b0b9d1b15f975388859f404eade9e9856af86e parent 2e20e6f5383608fda30e8481b159e703e9d9285f Author: klewer-martin <martin.cachari@gmail.com> Date: Sat, 10 Apr 2021 02:21:33 -0300 Added colored prompt to bash config file Diffstat:
M | .bashrc | | | 5 | ++++- |
1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.bashrc b/.bashrc @@ -10,7 +10,10 @@ alias ls='ls --color=auto' alias la='ls -la' alias ll='ls -l' alias cl='clear' +alias vim--='vim' +alias vim='nvim' -PS1='[\u@\h \W]\$ ' +# PS1='[\u@\h \W]\$ ' +export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" PATH="$PATH:/home/mk/scripts"