1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-07-01 16:20:27 +00:00

Check operating system in osx

This commit is contained in:
Sorin Ionescu 2012-06-02 14:20:57 -04:00
parent b2b90c22f8
commit 160e1a3926

View File

@ -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)"'