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

@ -61,6 +61,10 @@ else
# The author of this file prefers to use SSH to sync his machines with the origin
git --git-dir="$DOTFILES_DIR" --work-tree="$HOME" remote set-url origin git@git.webartifex.biz:alexander/dotfiles.git
# Remove potentially conflicting `bash` startup files
rm -f "$HOME/.bash_login"
rm -f "$HOME/.bash_profile"
echo ""
echo "The dotfiles were installed successfully"