Suggestion for bash prompt
Posted: 5. Mar 2018, 21:58
Well..I think this is one of the best distribution I tried.
But the bash prompt is one of the very little cosmetic thing that I think needs to improve.
Moro colorized, ls color enabled, grep color enabled etc.
This is my bashrc
Hope this can be helpful for someone.
byeeee
But the bash prompt is one of the very little cosmetic thing that I think needs to improve.
Moro colorized, ls color enabled, grep color enabled etc.
This is my bashrc
Code: Select all
export PS1="\[$(tput bold)\]\[$(tput setaf 4)\][\[$(tput setaf 2)\]\u\[$(tput setaf 4)\]@\[$(tput setaf 2)\]\h \[$(tput setaf 2)\]\W\[$(tput setaf 4)\]]\\$ \[$(tput sgr0)\]"
export PAGER=/usr/bin/most
export EDITOR=/usr/bin/vim
alias less='less --RAW-CONTROL-CHARS'
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias pki='sudo slapt-get --install'
alias pks='sudo slapt-get --search'
alias pkr='sudo slapt-get --remove'
alias pka='sudo slapt-get -u && sudo slapt-get --upgrade'
alias gslapt='sudo gslapt'
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
byeeee