diff --git a/dotfiles/.bashrc b/dotfiles/.bashrc index 95da8a0..e13759f 100644 --- a/dotfiles/.bashrc +++ b/dotfiles/.bashrc @@ -44,11 +44,7 @@ bashrc_customize_shell_options() { # Prevent overwriting files by mistake with output redirection. set -o noclobber - local option - for option in cdspell checkwinsize globstar histappend nocaseglob - do - shopt -s "$option" 2> /dev/null - done + shopt -s cdspell checkwinsize globstar histappend nocaseglob } bashrc_customize_paths() {