From 832529761581ea08a7a18cca7b9195d73a8bb4b9 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 17 Nov 2016 02:02:52 +0300 Subject: don't set -o nounset --- %HOME%/.bashrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/%HOME%/.bashrc b/%HOME%/.bashrc index fce8a03..d513e8c 100644 --- a/%HOME%/.bashrc +++ b/%HOME%/.bashrc @@ -5,7 +5,7 @@ esac PS1='\[\e[33m\]\W\[\e[0m\]: ' -set -o nounset +#set -o nounset set -o pipefail shopt -s checkwinsize @@ -20,6 +20,10 @@ is_cygwin() { test "$_os" == 'Cygwin' } +is_cygwin && set -o igncr + +export SHELLOPTS + alias df='df --human-readable' alias du='du --human-readable' -- cgit v1.2.3