-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
47 lines (32 loc) · 1.16 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
#### BEGIN RECOMMENDED STARTUP OPTIONS ####
autoload -Uz compinit
compinit
zstyle ':completion:*' menu select
setopt COMPLETE_ALIASES
source $HOME/.zsh_keybindings
#### END RECOMMENDED STARTUP OPTIONS ####
#### BEGIN USER CONFIGURATION ####
# Add your preferred shell configuration to this section
#
# NOTE:
# It is recommended that you DO NOT edit other parts
# of this script unless you know what you are doing!
# Set this to 0 to disable syntax highlighting
enable_syntax_highlighting=1
# Set this to 0 to disable autosuggestions
enable_autosuggestions=1
#### END USER CONFIGURATION
#### BEGIN RECOMMENDED FINAL OPTIONS ####
if [ $enable_autosuggestions -ne 0 ]; then
if [ -f /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh ]; then
source /usr/share/zsh-autosuggestions/zsh-autosuggestions.zsh
fi
fi
# NOTE:
# This MUST be the last configuration option specified in \$HOME/.zshrc
if [ $enable_syntax_highlighting -ne 0 ]; then
if [ -f /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]; then
source /usr/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
fi
fi
#### END RECOMMENDED FINAL OPTIONS ####