diff options
author | Toby Vincent <tobyv13@gmail.com> | 2022-05-25 15:44:49 -0500 |
---|---|---|
committer | Toby Vincent <tobyv13@gmail.com> | 2022-05-25 15:44:49 -0500 |
commit | 5c71eca6d717020376972c5cc3c56093a8a1f939 (patch) | |
tree | efa057313a0448b0450ee3a69f15fb7adf0d3d7c /bash/.bashrc | |
parent | 8361dd4b708050a5857c1e89561181ad04ee88c5 (diff) |
feat(shell): fully impliment XDG spec and reorganize rc files
Diffstat (limited to 'bash/.bashrc')
-rw-r--r-- | bash/.bashrc | 8 |
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) |