Last active
July 15, 2022 16:54
-
-
Save UltimateNova1203/fa4174fb872f8b76536a115300231bd1 to your computer and use it in GitHub Desktop.
macOS ZSHRC
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Export paths for shell to use | |
export HOMEBREW_EDITOR='/usr/bin/nano' | |
export PATH='/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin' | |
# Tell ZSH I want NANO for my editor | |
export VISUAL='/bin/nano' | |
# Enable color support for grep | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
# Aliases for LS | |
alias ll='ls -la' | |
alias la='ls -A' | |
alias l='ls -CF' | |
# Alias for deleting .DS_Store | |
alias rm-ds='find ./ -name ".DS_Store" -depth -exec rm {} \;' | |
# Export colors to shell | |
export CLICOLOR=1 | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
autoload -U colors && colors | |
PROMPT='%F{green}%n@%m%{%}%f:%F{cyan}%1~%f %% ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment