-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbash_profile
50 lines (41 loc) · 1.44 KB
/
bash_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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Suppress annoying messages at start of sessions
#################################################
# "Last login"
touch ~/.hushlogin
# TODO: "Restored session"
# Disable terminal windows from including username, window size, etc
DISABLE_AUTO_TITLE="true"
# Customize PROMPT
##################
# 'CurrentDir λ '
export PROMPT='%1d λ '
# Full set of prompt expansions:
# https://zsh.sourceforge.io/Doc/Release/Prompt-Expansion.html#Prompt-Expansion
# Other spark-joy characters:
# λ ℂ ∀x ∈ ℂ: ℍ ℕ ℙ n ∈ ℙ: ℚ ℝ ℤ χ σ(n) ∀
# Colors, styling
#################
export CLICOLOR=1
# More
######
[[ -d ~/bin ]] && PATH=$PATH:~/bin
[[ -d ~/vim ]] && PATH=$PATH:~/vim
setopt auto_cd
source ~/dotfiles/bash/bash_profile
source ~/dotfiles/git/bash_profile
source ~/dotfiles/ruby/bash_profile
source ~/dotfiles/setup/bash_profile
source ~/dotfiles/vscode/bash_profile
source ~/dotfiles/xcode/bash_profile
source ~/dotfiles/local/bash_profile.local
source ~/bin/bash_profile.bin
source ~/.bash_profile.work
source ~/.functions
export PATH="$HOME/.elan/bin:$PATH"
export PATH="$PATH:$HOME/.local/bin"
# Preserve emacs keybindings in tmux (e.g. ^A start of line)
bindkey -e
# NVM
export NVM_DIR="$HOME/.nvm"
[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh" # This loads nvm
[ -s "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" ] && \. "/opt/homebrew/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion