-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.profile
27 lines (22 loc) · 1.35 KB
/
.profile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
export XDG_CONFIG_HOME=$HOME/.config # Set config directory
export XDG_CACHE_HOME=$HOME/.cache # Set cache directory
export LESSHISTFILE="-" # Disable Less history file
export STARSHIP_CACHE= # Disable Starship prompt cache
# Make ZSH respect XDG Base Directory specification (kind of)
export ZDOTDIR=$HOME/.config/zsh
export HISTFILE="$XDG_DATA_HOME"/zsh/history
# Add my private scripts folder to $PATH
export PATH=$HOME/.local/bin:$PATH
# Add /usr/loca/sbin to $PATH to resolve Homebrew warning
export PATH="/usr/local/sbin:$PATH"
# Set default apps
export EDITOR=nvim
export MANPAGER="sh -c 'col -bx | bat -l man -p'" # Display manpages in bat
export HOMEBREW_CLEANUP_MAX_AGE_DAYS=30 # Set the number of days Brew keeps caches
export HOMEBREW_CURL_RETRIES=1 # Only retry once if running Curl fails
export HOMEBREW_FORCE_BREWED_CURL=1 # Always use brew of version Curl instead of one provided by the system
export HOMEBREW_FORCE_BREWED_GIT=1 # Always use brew of version Git instead of one provided by the system
export HOMEBREW_FORCE_VENDOR_RUBY=1 # Always use brew of version Ruby instead of one provided by the system
export HOMEBREW_NO_AUTO_UPDATE=1 # Don't automatically run brew update before other brew commands
export HOMEBREW_NO_COMPAT=1 # Disable all legacy code
export HOMEBREW_NO_INSTALL_CLEANUP=1 # Don't automatically run brew clean before other brew commands