Skip to content

Instantly share code, notes, and snippets.

@ungerik
Last active September 27, 2022 10:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ungerik/6903251 to your computer and use it in GitHub Desktop.
Save ungerik/6903251 to your computer and use it in GitHub Desktop.
.bash_profile for MacOS X
### 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