1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 20:57:59 +00:00
prezto/modules/osx/init.zsh

22 lines
370 B
Bash
Raw Normal View History

2012-02-01 04:37:51 +00:00
#
# Defines Mac OS X aliases and functions.
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
2012-07-23 19:00:44 +00:00
# Return if requirements are not found.
2012-06-02 18:20:57 +00:00
if [[ "$OSTYPE" != darwin* ]]; then
return 1
fi
2012-08-04 18:48:32 +00:00
#
# Aliases
#
2014-02-03 01:08:55 +00:00
# Changes directory to the current Finder directory.
2011-10-12 03:13:58 +00:00
alias cdf='cd "$(pfd)"'
2014-02-03 01:08:55 +00:00
# Pushes directory to the current Finder directory.
2011-10-12 03:13:58 +00:00
alias pushdf='pushd "$(pfd)"'