This commit is contained in:
Geoffrey Frogeye 2016-12-30 15:35:25 +01:00
parent db60caeb72
commit 940a4b41fa
2 changed files with 4 additions and 5 deletions

6
bashrc
View file

@ -18,12 +18,10 @@ else
fi fi
export USER=$(whoami) export USER=$(whoami)
export HOSTNAME=$(cat /etc/hostname) PS1="\[\e]2;\u@\h \w\a\]\[\e[0;37m\][\[\e[0;${col}m\]\u\[\e[0;37m\]@\[\e[0;34m\]\h \[\e[0;36m\]\W\[\e[0;37m\]]\$\[\e[0m\] "
HOST=${HOSTNAME%%.*}
PS1="\[\e]2;\u@${HOST} \w\a\]\[\e[0;37m\][\[\e[0;${col}m\]\u\[\e[0;37m\]@\[\e[0;34m\]${HOST} \[\e[0;36m\]\W\[\e[0;37m\]]\$\[\e[0m\] "
PS2="> " PS2="> "
PS3="+ " PS3="+ "
PS4="+ " PS4="- "
# Vars # Vars

View file

@ -145,11 +145,12 @@ function install-preferences {
# Common CLI # Common CLI
# Utils # Utils
inst moreutils screen ncdu htop proxytunnel pass pv curl sshfs netcat inst moreutils screen ncdu lsof htop proxytunnel pass pv curl sshfs netcat
if [ $ARCH == 1 ]; then if [ $ARCH == 1 ]; then
inst pkgfile inst pkgfile
if [ $ROOT == 1 ]; then if [ $ROOT == 1 ]; then
systemctl enable pkgfile-update.timer systemctl enable pkgfile-update.timer
inst cronie
fi fi
fi fi