Files
dotfiles/.bash/shell/history.sh
T
2026-05-06 11:14:48 +02:00

11 lines
338 B
Bash

#!/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:git info:git i:git lazy:git l"
bind '"\C-@": "\e^I history | grep '\''\e\e^A'\''\e\ei"'