add PS1 to Bash

This commit is contained in:
Alexander Popov 2022-07-09 23:08:21 +03:00
parent 1b5ed63764
commit 60d1d8f5df
Signed by: iiiypuk
GPG Key ID: D8C9B59A9F04A70C

View File

@ -1,6 +1,8 @@
# If not running interactively, don't do anything # If not running interactively, don't do anything
[[ $- != *i* ]] && return [[ $- != *i* ]] && return
export PS1='\[\e[0;33m\][\t] \[\e[0;32m\][\W]\[\e[0m\] \[\e[0;31m\]> \[\e[0m\]'
export GPG_TTY=$(tty) export GPG_TTY=$(tty)
export PATH="$PATH:$HOME/.bin" export PATH="$PATH:$HOME/.bin"