From 2bf8c6a932a639c912a3bd48dadc6f3cb6365836 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 22 Aug 2020 16:39:44 +0200 Subject: [PATCH] Add more options to bashrc Tried to learn what these options are doing, and added some that I found useful. --- bashrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/bashrc b/bashrc index 9c70caa..5931760 100755 --- a/bashrc +++ b/bashrc @@ -25,6 +25,14 @@ shopt -o -s noclobber # Extended globbing shopt -s extglob +shopt -s globstar + +# cd to directory if an invalid command is the name of a directory +shopt -s autocd + +# Fix typing errors +shopt -s cdspell +shopt -s dirspell # Check the window size after each command and, if necessary, # Update the values of LINES and COLUMNS.