-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
67 lines (45 loc) · 1.77 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
66
67
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# Place where your dotfiles folder exist
export ZFILES_HOME="${HOME}/.zfiles"
source "$ZFILES_HOME/.myzshrc.before"
#export TERM="xterm-256color"
#bindkey -v
## WE ARE NOT USING TERMITE ANYMORE
# if [[ $TERM == xterm-termite ]]; then
# . /usr/local/etc/profile.d/vte.sh
# __vte_osc7
# fi
# zstyle ':completion:*:*:git:*' script /usr/local/etc/bash_completion.d/git-completion.bash
fpath=(/usr/local/share/zsh-completions $fpath)
autoload -U compinit && compinit
zmodload -i zsh/complist
zstyle ':completion:*' menu select
zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}'
setopt appendhistory
setopt sharehistory
setopt incappendhistory
# End of lines configured by zsh-newuser-install
bindkey '^[[1;5C' forward-word
bindkey '^[[1;5D' backward-word
source "$ZFILES_HOME/.myzsh_funcs"
source "$ZFILES_HOME/.myzshrc"
source "$ZFILES_HOME/.myzsh_aliases"
#### ZPLUG ######
export ZPLUG_HOME=$HOME/.zplug
source "$ZFILES_HOME/.zplugrc"
HISTSIZE=100000
SAVEHIST=100000
setopt histignorespace
source "$ZFILES_HOME/.myzshrc.after"
# ctf-tools: gem install
#export PATH=$PATH:/home/kunal/.gem/ruby/2.5.0/bin
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f "$ZFILES_HOME/.p10k.zsh" ]] || source "$ZFILES_HOME/.p10k.zsh"
export LANG=en_IN.UTF-8
autoload -U +X bashcompinit && bashcompinit
# complete -o nospace -C /usr/bin/terraform terraform