mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 01:17:59 +00:00
b6b43eb331
This only changes references in text for human consumption. It leaves out renaming paths because that can cause breaking changes. Related issue https://github.com/sorin-ionescu/prezto/issues/1449.
22 lines
367 B
Bash
22 lines
367 B
Bash
#
|
|
# Defines macOS aliases and functions.
|
|
#
|
|
# Authors:
|
|
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
|
#
|
|
|
|
# Return if requirements are not found.
|
|
if [[ "$OSTYPE" != darwin* ]]; then
|
|
return 1
|
|
fi
|
|
|
|
#
|
|
# Aliases
|
|
#
|
|
|
|
# Changes directory to the current Finder directory.
|
|
alias cdf='cd "$(pfd)"'
|
|
|
|
# Pushes directory to the current Finder directory.
|
|
alias pushdf='pushd "$(pfd)"'
|