refacts bash/profile setup

This commit is contained in:
2026-04-21 11:19:45 +02:00
parent 5bd960d386
commit f150ed2750
52 changed files with 3446 additions and 724 deletions

12
.bash/shell/config.sh Normal file
View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
# General shell configuration
# use `2>/dev/null` for prevent fail when on old bash
shopt -s expand_aliases
export GPG_TTY=$(tty)
shopt -s globstar 2>/dev/null || true # Recursive globbing
[[ "$-" != *i* ]] && return
# Auto-correct
shopt -s cdspell
shopt -s dirspell 2>/dev/null || true