diff --git a/.bash_profile b/.bash_profile index 6bbd534..f322566 100644 --- a/.bash_profile +++ b/.bash_profile @@ -7,9 +7,12 @@ shopt -s histappend # Check the window size after each command and update LINES and COLUMNS shopt -s checkwinsize -# Enable globstar pattern matching (e.g. **/*.foobar) +# Globstar pattern matching (e.g. **/*.foobar) shopt -s globstar +# Auto-cd to a directory without specifying 'cd' (e.g. foobar) +shopt -s autocd + # Source z (https://github.com/rupa/z) source ~/.bash/z/z.sh