From 5c71eca6d717020376972c5cc3c56093a8a1f939 Mon Sep 17 00:00:00 2001 From: Toby Vincent Date: Wed, 25 May 2022 15:44:49 -0500 Subject: feat(shell): fully impliment XDG spec and reorganize rc files --- bash/.bashrc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'bash/.bashrc') 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) -- cgit v1.2.3-70-g09d2