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
- Adapt the installation script to remove
  possibly conflicting files
- Ensure ~/.local/state/bash/ exists
This commit is contained in:
Alexander Hess 2025-08-30 11:19:24 +02:00
commit 1f3fe88216
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
6 changed files with 167 additions and 0 deletions

View file

@ -1,6 +1,11 @@
#!/bin/sh
# Main setup file executed for all kinds of shells
#
# For `bash`, the following two files must not exist:
# - ~/.bash_login
# - ~/.bash_profile
# If they do, this file may not be executed!
# Prevent loading ~/.profile twice in `bash`