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

10
.bash/shell/history.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
[[ "$-" != *i* ]] && return
export HISTCONTROL="ignoreboth:erasedups"
shopt -s histappend cmdhist
export HISTFILESIZE=10000
export HISTSIZE="$HISTFILESIZE"
export HISTIGNORE="?? :but:but rub *:but commit:but ?? ?? :tree:vim:git info:git i:git lazy:git l"
bind '"\C-@": "\e^I history | grep '\''\e\e^A'\''\e\ei"'