From e2c16ea8d432c9ce3a11ff0c5be75a2b99851bc9 Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Thu, 10 Oct 2019 21:49:08 +0300 Subject: [PATCH] cygwin complaints --- qcd_function | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/qcd_function b/qcd_function index d089f84..76b0090 100644 --- a/qcd_function +++ b/qcd_function @@ -1,12 +1,10 @@ ## improved CD commands: _QCD_FIND=find -case $OSTYPE in - darwin*) - alias tac=gtac - _QCD_FIND=gfind - ;; -esac +if [[ "$OSTYPE" = "darwin"* ]]; then + alias tac=gtac + _QCD_FIND=gfind +fi function gcd() { # guess cd, find first match in folder, or ask if multiple hits