From d4fa77e06115731c056b285ea980f4b30db349a8 Mon Sep 17 00:00:00 2001 From: Warrick Lo Date: Sat, 27 Nov 2021 04:18:00 -0800 Subject: Add shell configs --- .bashrc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .bashrc (limited to '.bashrc') diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..b486d2c --- /dev/null +++ b/.bashrc @@ -0,0 +1,18 @@ +# Bash configuration + +# Set prompt. +PS1="\[\033[38;5;3m\][\u@\h \w]\[\033[0m\] \$ " + +# History file configuration. +shopt -s histappend +HISTSIZE=100000 +HISTFILESIZE=100000 +HISTFILE="$HOME/.cache/bash/history" + +# GPG. +export GPG_TTY="$(tty)" + +# Load aliases. +if [ -f "$HOME/.config/aliasrc" ]; then + source "$HOME/.config/aliasrc" +fi -- cgit v1.2.3