-
-
Notifications
You must be signed in to change notification settings - Fork 92
/
Copy pathzshrc
65 lines (45 loc) · 1.84 KB
/
zshrc
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
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
# Theme is set via `zplug`, see `config/zplugrc`.
# ZSH_THEME="sobole"
# Uncomment the following line to use case-sensitive completion.
CASE_SENSITIVE='false'
# Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable.
HYPHEN_INSENSITIVE='false'
# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="false"
# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
HIST_STAMPS='yyyy-mm-dd'
# Commands starting from " " (whitespace) won't be saved in history:
HIST_IGNORE_SPACE='true'
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
gitfast
gh
)
# Sourcing the Oh-My-ZSH source:
source "$ZSH/oh-my-zsh.sh"
# This PATH needs to be set before all other modifications:
export PATH='/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin'
# === Plugin management ===
ZPLUG_HOME='/opt/homebrew/opt/zplug'
export ZPLUG_HOME
source "$HOME/.zplugrc"
# === Shell parts ===
source "$HOME/.shell/.exports"
source "$HOME/.shell/.aliases"
source "$HOME/.shell/.functions"
source "$HOME/.shell/.external"
source "$HOME/.shell/.completions"
# === Local variables and overrides ===
if [[ -f "$HOME/.shell_env_local" ]]; then
source "$HOME/.shell_env_local"
fi