THEAARBS bashrc

Raw

#!/bin/bash
#  _               _
# | |__   __ _ ___| |__
# | '_ \ / _` / __| '_ \
# | |_) | (_| \__ \ | | |
# |_.__/ \__,_|___/_| |_|
#
# ~/.bashrc

export PATH="${PATH}:${HOME}/.local/bin/"

# Disable ctrl-s and ctrl-q stty -ixon

# Allows you to cd to a dir just by typing the dir name shopt -s autocd

# Line wrap on window resize shopt -s checkwinsize

# Infinite history HISTSIZE= HISTFILESIZE=

if [ "$EUID" -ne 0 ] then export PS1="[$(tput bold)][$(tput setaf 1)][[$(tput setaf 3)]\u[$(tput setaf 2)][$(moonphase)][$(tput setaf 4)]\h [$(tput setaf 5)]\W[$(tput setaf 1)]][$(tput setaf 7)]\$ [$(tput sgr0)]" else export PS1="[$(tput bold)][$(tput setaf 1)][[$(tput setaf 3)]ROOT[$(tput setaf 2)]@[$(tput setaf 4)]$(hostname | awk '{print toupper($0)}') [$(tput setaf 5)]\W[$(tput setaf 1)]][$(tput setaf 7)]\$ [$(tput sgr0)]" fi

[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" [ -f "$HOME/.config/networkalias" ] && source "$HOME/.config/networkalias"

. ~/.cache/wal/colors.sh