# shell/aliases-darwin.sh
#
# @file Mac specific shell aliases.

alias cdf='cd "$(printfd)"'    # Switch to directory selected in finder
alias puf='pushd "$(printfd)"' # Push finder directory to the stack

alias hide="chflags hidden"    # Hide a file in Finder
alias show="chflags nohidden"  # Show a file in Finder

alias cask="brew cask"         # Easily install applications via homebrew

# shell/aliases-darwin.sh
#
# @file Mac specific shell aliases.


alias cdf='cd "$(printfd)"'            # Switch to current Finder directory
alias puf='pushd "$(printfd)"'         # Push Finder directory to the stack

alias ql="qlmanage -p >/dev/null 2>&1" # Open a file in quick look

alias hide="chflags hidden"            # Hide a file in Finder
alias show="chflags nohidden"          # Show a file in Finder

alias cask="brew cask"                 # Easily install apps via homebrew
alias reload="source ~/.bash_profile"  # Reload bash configuration

alias finder="open -a Finder"          # Open a directory in Finder
alias chrome="open -a Google\ Chrome"  # Open a website in Google Chrome
alias firefox="open -a Firefox"        # Open a website in Firefox
alias safari="open -a Safari"          # Open a website in Safari
alias preview="open -a Preview"        # Display a preview of any type of file

Add aliases to macOS applications
feat: Add aliases to macOS applications
