increase bash command history size

changed rofi font to jetbrains mono
implemented bash completions for navigate
started script to use fzf for reverse command search in bash
This commit is contained in:
quak
2025-01-20 00:11:49 +01:00
parent e7046407c2
commit d5b880915e
4 changed files with 32 additions and 12 deletions

View File

@@ -2,8 +2,13 @@
# ~/.bashrc
#
# disable duplicates in command history
# configure behaviour of command history
## disable duplicates in command history
export HISTCONTROL=ignoreboth:erasedups
## increase history size
history_size=2000
export HISTSIZE=${history_size}
export HISTFILESIZE=${history_size}
# If not running interactively, don't do anything
# [[ $- != *i* ]] && return
@@ -30,7 +35,6 @@ alias diff='diff --color=always'
alias bashsource='source ~/.bashrc'
# short forms for tmux commands
## run script to setup default tmux session and then attach the session
## attaching the session needs to be done from the calling shell, otherwise
## the setup script will only terminate after detaching or killing the session
@@ -55,12 +59,9 @@ if [[ "$PATH" != *"dotfiles/misc/scripts/"* ]]; then
export PATH=$PATH:$HOME/dotfiles/misc/scripts/
fi
# setup starship
# setup `starship`
eval "$(starship init bash)"
# source shell scripts
source_list=()
## source alias file
source ~/.bash_alias