-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathzshrc.local
71 lines (51 loc) · 1.62 KB
/
zshrc.local
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
PATH="$HOME/.bin:$PATH"
PATH="$HOME/.local/bin:$PATH"
export PATH
eval "$(/opt/homebrew/bin/brew shellenv)"
source /opt/homebrew/opt/asdf/libexec/asdf.sh
export LC_ALL=en_US.UTF-8
# Disable Homebrew analytics https://docs.brew.sh/Analytics
unset HOMEBREW_NO_ANALYTICS
# Configure cdpath
cdpath=(
~
~/Developer
# Add additional folders as needed
)
# Fish shell like syntax highlighting for Zsh.
# https://github.com/zsh-users/zsh-syntax-highlighting
source ~/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# Git flow completion
source ~/.git-flow-completion/git-flow-completion.zsh
# zsh autosuggestions
source ~/.zsh-autosuggestions/zsh-autosuggestions.zsh
# Terminal color mode
export TERM=screen-256color-bce
export TESTING_MAKERS=working
# append completions to fpath
fpath=(${ASDF_DIR}/completions $fpath)
# initialise completions with ZSH's compinit
autoload -Uz compinit
compinit
# # Prepend programming language binaries via ASDF shims
# PATH="$HOME/.asdf/bin:$PATH"
# PATH="$HOME/.asdf/shims:$PATH"
# # Prepend Homebrew binaries
# PATH="$BREW/bin:$PATH"
# Add yarn global bin to PATH
PATH="$(yarn global bin):$PATH"
# Elixir/Erlang
# Enable iex shell history
export ERL_AFLAGS="-kernel shell_history enabled"
# Rust
PATH="$HOME/.cargo/bin:$PATH"
export PATH
# Terminal History file
HISTFILE="${HOME}/.zsh_history"
HISTSIZE=5000
SAVEHIST=5000
# Starship terminal prompt
export STARSHIP_CONFIG=~/.starship/config.toml
eval "$(starship init zsh)"
# heroku autocomplete setup
HEROKU_AC_ZSH_SETUP_PATH=~/Library/Caches/heroku/autocomplete/zsh_setup && test -f $HEROKU_AC_ZSH_SETUP_PATH && source $HEROKU_AC_ZSH_SETUP_PATH;