1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-16 10:51:12 +00:00
prezto/modules/osx/init.zsh

25 lines
392 B
Bash
Raw Normal View History

2012-02-01 04:37:51 +00:00
#
# Defines macOS aliases and functions.
2012-02-01 04:37:51 +00:00
#
# Authors:
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
# Load dependencies.
pmodload 'helper'
2012-07-23 19:00:44 +00:00
# Return if requirements are not found.
if ! is-darwin; then
2012-06-02 18:20:57 +00:00
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)"'