summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc18
1 files changed, 18 insertions, 0 deletions
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