1
0
forked from brl/citadel
citadel/meta-citadel/recipes-citadel/citadel-config/files/share/dot.bashrc

26 lines
443 B
Plaintext
Raw Normal View History

2018-03-18 23:24:30 +00:00
# ~/.bashrc: executed by bash(1) for non-login shells.
fgc() {
2018-03-19 02:05:19 +00:00
printf "\[\e[38;5;${1}m\]"
2018-03-18 23:24:30 +00:00
}
bgc() {
resetc
2018-03-19 02:05:19 +00:00
printf "\[\e[48;5;${1}m\]"
2018-03-18 23:24:30 +00:00
}
resetc() {
2018-03-19 02:05:19 +00:00
printf "\[\e[0m\]"
2018-03-18 23:24:30 +00:00
}
export PS1="$(bgc 253)$(fgc 53)citadel$(bgc 253):\w \\$`resetc` "
umask 022
2018-03-19 02:05:19 +00:00
shopt -s checkwinsize
2018-03-18 23:24:30 +00:00
export LS_OPTIONS='--color=auto'
eval `dircolors`
alias ls='ls $LS_OPTIONS'
alias ll='ls $LS_OPTIONS -l'
2018-03-27 02:55:57 +00:00
source /usr/share/bash-completion/bash_completion