-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathzshrc
More file actions
36 lines (30 loc) · 953 Bytes
/
Copy pathzshrc
File metadata and controls
36 lines (30 loc) · 953 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
# ------------------------------------
# Oh My Zsh
# ------------------------------------
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(
git
zsh-autosuggestions
)
source $ZSH/oh-my-zsh.sh
# ------------------------------------
# Command autocomplete
# https://tcude.net/enabling-command-autocomplete-in-zsh/
# ------------------------------------
autoload -Uz compinit
compinit
zstyle ':completion:*' menu select
# ------------------------------------
# Editor
# ------------------------------------
export EDITOR="code --wait"
# ------------------------------------
# Exports & aliases (~/.zsh -> dotfiles/zsh)
# ------------------------------------
[ -f ~/.zsh/exports ] && source ~/.zsh/exports
[ -f ~/.zsh/aliases ] && source ~/.zsh/aliases
# ------------------------------------
# Machine-specific overrides (not committed)
# ------------------------------------
[ -f ~/.machine-specific ] && source ~/.machine-specific