diff --git a/my_home/.bashrc b/my_home/.bashrc index 69be646..99493a3 100644 --- a/my_home/.bashrc +++ b/my_home/.bashrc @@ -81,4 +81,6 @@ export PS1='\u@\h:\w\$ ' ## Misc ## # Prevent line wrapping mess -shopt -s checkwinsize +if command -v shopt > /dev/null 2>&1; then + shopt -s checkwinsize +fi