Created
December 1, 2019 19:18
-
-
Save chanmix51/cc2c0463e841c14fe33be95c7f0f69ca to your computer and use it in GitHub Desktop.
bashrc for LXC containers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias ll='ls -lh' | |
ylw=$(tput setaf 227) | |
grn=$(tput setaf 154) | |
red=$(tput setaf 196); | |
bld=$(tput bold); | |
rst=$(tput sgr0); | |
export PS1="LXC[\[$([ $UID -eq 0 ] && echo "$red" || echo "$grn")\]$(hostname)\[$rst\]]:\[$bld\]\w\[$rst\]# " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment