diff options
| author | Warrick Lo <warrick.s.z.lo@gmail.com> | 2021-11-27 04:18:00 -0800 |
|---|---|---|
| committer | Warrick Lo <warrick.s.z.lo@gmail.com> | 2021-11-27 04:18:00 -0800 |
| commit | d4fa77e06115731c056b285ea980f4b30db349a8 (patch) | |
| tree | 8f05d76e19ccc9eb312b8da531c3413bd9ad7ba3 /.bashrc | |
Add shell configs
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 |
