Add configuration for bash

- Add ~/.bashrc
  + Configure on how the `history` works
  + Enable nicer `cd` and globbing behavior
  + Enable tab completion, even for aliases
  + Add some more stuff from Debian's ~/.bashrc
- Add ~/.bash_logout clearing the screen
- Add stubs for ~/.bash_login and ~/.bash_profile
  that redirect to ~/.profile
- Add ~/.bash_completion
- Ensure ~/.local/state/bash/ exists
This commit is contained in:
Alexander Hess 2026-06-11 18:28:02 +02:00
commit 0e0c4c2e62
Signed by: alexander
GPG key ID: B46EDB4DFC26805D
9 changed files with 216 additions and 5 deletions

8
.bash_completion Normal file
View file

@ -0,0 +1,8 @@
#!/bin/bash
# Custom `bash` completions
#
# Sourced automatically by the `bash-completion` package at shell start
complete -W '--force' dotfiles-install dotfiles-update