-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzshrc
More file actions
40 lines (31 loc) · 800 Bytes
/
zshrc
File metadata and controls
40 lines (31 loc) · 800 Bytes
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
#!/usr/bin/zsh
autoload -U colors && colors
# Vim
export EDITOR='vim'
export LC_ALL="en_US.UTF-8"
export LANG="en_US.UTF-8"
export LANGUAGE="en_US.UTF-8"
export EDITOR='nvim'
# Shortcuts
source ~/dotfiles/paths.zsh
source ~/dotfiles/variables.zsh
source ~/dotfiles/aliases.zsh
source ~/dotfiles/functions.zsh
# CLI Vim mode
set -o vi
# Prompt
PS1="(%{$fg[yellow]%}%n%{$reset_color%}: %{$fg[cyan]%}%~%{$reset_color%}) $ "
# Python
export PYENV_ROOT="$HOME/.pyenv"
PATH="$PYENV_ROOT/bin/:$PATH"
eval "$(pyenv init -)"
# Ruby
source /usr/local/share/chruby/chruby.sh
chruby 3.2.0
# Node
export VOLTA_HOME="$HOME/.volta"
export PATH="$VOLTA_HOME/bin:$PATH"
# Bun
[ -s "/home/alan/.bun/_bun" ] && source "/home/alan/.bun/_bun"
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"