Last active
September 27, 2022 10:35
-
-
Save ungerik/6903251 to your computer and use it in GitHub Desktop.
.bash_profile for MacOS X
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
### MacOS | |
# Don't show "The default interactive shell is now zsh." | |
export BASH_SILENCE_DEPRECATION_WARNING=1 | |
# Set VSCode as default editor | |
export EDITOR=code | |
export VISUAL="$EDITOR" | |
### Aliases | |
alias l="ls -lahF" | |
### Colors | |
export CLICOLOR=1 | |
# For LSCOLORS see https://geoff.greer.fm/lscolors/ | |
export LSCOLORS=exfxcxdxbxegefabagacad | |
### Node.js | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
### Homebrew | |
eval "$(/opt/homebrew/bin/brew shellenv)" | |
### Rust | |
. "$HOME/.cargo/env" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment