From 0159412aa6a09522d9f358952e83577a8906a81a Mon Sep 17 00:00:00 2001 From: Karol Krzosa Date: Thu, 18 Jun 2026 10:39:57 +0200 Subject: [PATCH] bash improvements --- .bashrc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.bashrc b/.bashrc index d1a022b..efff895 100644 --- a/.bashrc +++ b/.bashrc @@ -16,8 +16,8 @@ HISTCONTROL=ignoreboth shopt -s histappend # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) -HISTSIZE=1000 -HISTFILESIZE=2000 +HISTSIZE=100000 +HISTFILESIZE=200000 # check the window size after each command and, if necessary, # update the values of LINES and COLUMNS. @@ -25,7 +25,10 @@ shopt -s checkwinsize # If set, the pattern "**" used in a pathname expansion context will # match all files and zero or more directories and subdirectories. -#shopt -s globstar +shopt -s globstar + +# Type directory names directly, without 'cd' and still move there +shopt -s autocd # make less more friendly for non-text input files, see lesspipe(1) #[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"