-
Notifications
You must be signed in to change notification settings - Fork 2
/
.zshrc
43 lines (34 loc) · 1.11 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
export ZSH="$HOME/.oh-my-zsh"
# More themes on: https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
ZSH_THEME="robbyrussell"
# true/false
CASE_SENSITIVE="false"
# zstyle ':omz:update' mode disabled # disable automatic updates
# zstyle ':omz:update' mode auto # update automatically without asking
# zstyle ':omz:update' mode reminder # just remind me to update when it's time
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
fast-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
# User configuration
export LANG=en_US.UTF-8
# editor for local or remote session
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='nvim'
fi
# aliases
alias zshconf="nvim ~/.zshrc"
alias ohmyzsh="nvim ~/.oh-my-zsh"
alias bspconf="nvim ~/.config/bspwm/bspwmrc"
alias sxhkdconf="nvim ~/.config/sxhkd/sxhkdrc"
alias alacrittyconf="nvim ~/.config/alacritty/alacritty.yml"
alias polyconf="nvim ~/.config/polybar/config"
alias picomconf="nvim ~/.config/picom/picom.conf"
alias dunstconf="nvim ~/.config/dunst/dunstrc"
alias cleantrash="sudo pacman -R $(pacman -Qtdq)"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh