aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
blob: 0b64a93e41a4491df5d28febe94903e59e1bbe16 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Nick's light .bashrc
# Basically the same as the full version (light already)

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

# Our prompt (user@computer: >>)
PS1="\[\033[38;5;14m\]\u\[$(tput sgr0)\]\[\033[38;5;243m\]@\[$(tput sgr0)\]\[\033[38;5;194m\]\h\[$(tput sgr0)\]\[\033[38;5;243m\]:\[$(tput sgr0)\]\[\033[38;5;15m\]\w ยป \[$(tput sgr0)\]"

[ ! -z "$SSH_CLIENT" ] && PS1="(SSH) $PS1"

export HISTFILE="$HOME/.local/share/bash_history"

# cd by name only is ok
shopt -s autocd 2>/dev/null

# Load our aliases
[ -f $HOME/.config/aliasrc ] && . $HOME/.config/aliasrc