summaryrefslogtreecommitdiff
path: root/dotrc
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2020-07-28 13:26:25 +0000
committerIan C <ianc@noddybox.co.uk>2020-07-28 13:26:25 +0000
commite2918a88b2495ff827cc4ae7216a27edf84b7de7 (patch)
treee60a73bf9838a69e3f34803878a4cd380ebdb5bb /dotrc
parent419d650776700eaddc1feb6a175bd8bcec08b1e5 (diff)
Added code to detect MacOS for start alias.
Diffstat (limited to 'dotrc')
-rw-r--r--dotrc/.bash_aliases8
1 files changed, 7 insertions, 1 deletions
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 "