Check operating system in osx
This commit is contained in:
parent
b2b90c22f8
commit
160e1a3926
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,11 @@
|
|||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
||||
#
|
||||
|
||||
# This module is for Mac OS X only.
|
||||
if [[ "$OSTYPE" != darwin* ]]; then
|
||||
return 1
|
||||
fi
|
||||
|
||||
# Change directory to the current Finder directory.
|
||||
alias cdf='cd "$(pfd)"'
|
||||
|
||||
|
|
Loading…
Reference in a new issue