void/bash/.bashrc

17 lines
501 B
Bash
Raw Normal View History

2024-02-29 03:45:58 +00:00
[[ $- != *i* ]] && return
export LC_CTYPE=en_US.UTF-8
export LC_ALL=en_US.UTF-8
export GPG_TTY=$(tty)
2024-07-10 00:50:57 +00:00
export GOPATH=$HOME/dev/go
export PATH=$HOME/.local/bin:$PATH:$GOPATH/bin
2024-02-29 03:45:58 +00:00
[ -f $HOME/.bash_aliases ] && source $HOME/.bash_aliases
[ -f $HOME/.bash_functions ] && source $HOME/.bash_functions
2024-07-10 00:50:57 +00:00
if [ "$(id -u)" -eq 0 ]; then
export PS1="\e[38;5;237m\T\e[0m \e[38;5;196m\u@\h\e[0m \e[38;5;226m\w \e[0m: "
else
export PS1="\e[38;5;237m\T\e[0m \e[38;5;41m\u@\h\e[0m \e[38;5;69m\w \e[0m: "
fi