-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathzshrc
More file actions
78 lines (68 loc) · 1.79 KB
/
zshrc
File metadata and controls
78 lines (68 loc) · 1.79 KB
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
72
73
74
75
76
77
78
# Path to your oh-my-zsh configuration.
export ZSH="$HOME/.zsh/ohmyzsh"
ZSH_CUSTOM="$HOME/.zsh/ohmyzsh-custom"
ZSH_THEME="robbyrussell"
# Auto update settings
zstyle ':omz:update' mode background-alpha
zstyle ':omz:update' frequency 0
# Uncomment following line if you want red dots to be displayed while waiting for completion
COMPLETION_WAITING_DOTS="true"
# Don't resolve symbolic links in z
_Z_NO_RESOLVE_SYMLINKS="true"
# Colorize settings
ZSH_COLORIZE_TOOL=chroma
# Nice ones: arduino friendly paraiso-dark solarized-dark solarized-dark256 vim
ZSH_COLORIZE_STYLE=vim
# Add plugins from the command line
[[ -z "$add_plugins" ]] || read -A add_plugins <<< "$add_plugins"
# Which plugins would you like to load?
plugins=(
brew
mise
git
git-extras
gh
gcloud
kubectl
gitignore
z
dircycle
web-search
sudo
extract
history-substring-search
npm
github
docker-compose
sublime
colored-man-pages
copybuffer
dotenv
fnm
rust
terraform
virtualenv
python
docker
poetry
shrink-path
# custom plugins go here
fast-syntax-highlighting
ragequit
zsh-no-ps2
# add_plugins from the command line
$add_plugins
)
unset add_plugins
# Don't load Oh My Zsh on Linux TTYs
[[ -z "$OMZ_LOAD" && $TTY = /dev/tty* && $OSTYPE = linux* ]] || source "$ZSH/oh-my-zsh.sh"
## User configuration
## Sourcing external files
[[ -f ~/.zsh/aliases ]] && . ~/.zsh/aliases # custom aliases
[[ -f ~/.zsh/functions ]] && . ~/.zsh/functions # custom functions
# add current directory to the end of PATH
path+=(.)
# Load per-host zshrc overriding files
# ^(bck|new) - matching anything except "bck" and "new" (e.g. .zshrc.bck or .zshrc.new)
# (N) - NULL_GLOB: match nothing without giving error if there are no matches
for file in "$ZDOTDIR"/.zshrc.^(bck|new)(N); do . "$file"; done; unset file