-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
44 lines (29 loc) · 881 Bytes
/
.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
export PATH=$HOME/bin:/usr/local/bin:$HOME/.local/bin:$HOME/.cargo/bin:$PATH
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
zstyle ':omz:update' mode auto
zstyle ':omz:update' frequency 10
ENABLE_CORRECTION="true"
bindkey -v
bindkey "^?" vi-backward-kill-word
plugins=(
zsh-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
fi
export HISTSIZE=10000
export HISTFILE=
export HISTFILESIZE=0
export EDITOR='nvim'
export VISUAL='code'
export MANPAGER='/bin/bash -c "vim -MRn -c \"set buftype=nofile showtabline=0 ft=man ts=8 nomod nolist norelativenumber nonu noma\" -c \"normal L\" -c \"nmap q :qa<CR>\"</dev/tty <(col -b)"'
alias g='git'
alias d='docker'
alias v='nvim'
alias sv='sudo nvim'
alias vv='vim'
alias svv='sudo vim'
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
colorscript random