1
0
Fork 0

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
- Ensure ~/.local/state/bash/ exists
This commit is contained in:
Alexander Hess 2026-06-11 18:28:02 +02:00
commit a6f40c0ffb
Signed by: alexander
GPG key ID: D88F903B85326FFE
7 changed files with 178 additions and 5 deletions

4
.bash_logout Normal file
View file

@ -0,0 +1,4 @@
#!/bin/bash
_logout="${XDG_CONFIG_HOME:-$HOME/.config}/shell/logout"
[ -f "$_logout" ] && . "$_logout"