Browse Source

Check operating system in osx

master
Sorin Ionescu 13 years ago
parent
commit
160e1a3926
  1. 5
      modules/osx/init.zsh

5
modules/osx/init.zsh

@ -5,6 +5,11 @@
# Sorin Ionescu <sorin.ionescu@gmail.com> # 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. # Change directory to the current Finder directory.
alias cdf='cd "$(pfd)"' alias cdf='cd "$(pfd)"'

Loading…
Cancel
Save