aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bash/.bashrc
diff options
context:
space:
mode:
authorToby Vincent <tobyv13@gmail.com>2022-05-25 15:44:49 -0500
committerToby Vincent <tobyv13@gmail.com>2022-05-25 15:44:49 -0500
commit5c71eca6d717020376972c5cc3c56093a8a1f939 (patch)
treeefa057313a0448b0450ee3a69f15fb7adf0d3d7c /bash/.bashrc
parent8361dd4b708050a5857c1e89561181ad04ee88c5 (diff)
feat(shell): fully impliment XDG spec and reorganize rc files
Diffstat (limited to 'bash/.bashrc')
-rw-r--r--bash/.bashrc8
1 files changed, 5 insertions, 3 deletions
diff --git a/bash/.bashrc b/bash/.bashrc
index 0eb8bf0..7d454d7 100644
--- a/bash/.bashrc
+++ b/bash/.bashrc
@@ -1,5 +1,7 @@
#!/usr/bin/bash
+export HISTFILE=$XDG_STATE_HOME/bash/history
+
# Aliases
alias ls='ls --color=tty'
alias l='ls -lah'
@@ -27,9 +29,9 @@ alias dct="docker context"
alias dcu="docker context use"
if [[ $- == *i* ]] && [ -d "$BASHCOMPDIR" ]; then
- for f in "$BASHCOMPDIR"/*; do
- source "$f"
- done
+ for f in "$BASHCOMPDIR"/*; do
+ source "$f"
+ done
fi
command -v starship >/dev/null 2>&1 && source <(starship init bash)