From e2918a88b2495ff827cc4ae7216a27edf84b7de7 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 28 Jul 2020 13:26:25 +0000 Subject: Added code to detect MacOS for start alias. --- dotrc/.bash_aliases | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'dotrc') diff --git a/dotrc/.bash_aliases b/dotrc/.bash_aliases index b902e9c..53137d6 100644 --- a/dotrc/.bash_aliases +++ b/dotrc/.bash_aliases @@ -13,7 +13,13 @@ alias pss="ps -ef" alias psu="ps -f -u $LOGNAME" alias h="history" alias p="pwd" -alias start=cygstart + +if [ $(uname) == "Darwin" ] ; then + alias start=open +else + alias start=cygstart +fi + alias search="find . -type f -print0 | xargs -0 grep" alias wenv="env | egrep " -- cgit v1.2.3