-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.zshrc
122 lines (93 loc) · 2.64 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
###########
# ENVIRON #
###########
export PATH="$PATH:$HOME/.local/bin"
# Cargo bin path
export PATH=$PATH:~/.cargo/bin/
# environment variables
export PATH=$PATH:/home/nmask/.spicetify
#############
# GENERAL #
#############
export ZSH="$HOME/.oh-my-zsh"
zstyle ':omz:update' mode reminder # just remind me to update when it's time
zstyle ':omz:update' frequency 13 # how often to auto-update (in days).
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes
# ZSH_THEME="robbyrussell"
CASE_SENSITIVE="false"
# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"
# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS="true"
DISABLE_LS_COLORS="false"
DISABLE_AUTO_TITLE="false"
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="false"
###########
# HISTORY #
###########
export HISTSIZE=10000
export HISTDUP=erase
setopt appendhistory
setopt sharehistory
setopt hist_ignore_space
setopt hist_ignore_all_dups
setopt hist_save_no_dups
setopt hist_ignore_dups
setopt hist_find_no_dups
#############
# PLUGINS #
#############
plugins=(
git
zsh-autosuggestions
#zsh-autocomplete
zsh-syntax-highlighting
)
source $ZSH/oh-my-zsh.sh
########################
# User configuration #
########################
# Locale
export LANG=en_US.UTF-8 LC_ALL=ru_RU.UTF-8
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='nvim'
fi
# zoxide
source <(fzf --zsh)
eval "$(zoxide init zsh)"
# OMP init
eval "$(oh-my-posh init zsh --config ~/.config/ohmyposh/config.json)"
# Starship init
# eval "$(starship init zsh)"
######################
# ALIASES #
######################
alias :q="exit"
alias py="python"
alias vim="nvim"
alias nf="neofetch"
alias ff="fastfetch"
alias l.='eza -a | egrep "^\."'
alias mk="musikcube"
alias z="./.local/bin/zero/Zero.CLI"
alias zero="./.local/bin/zero/Zero.CLI"
alias tmt="./.local/bin/timecanvas/TimeCanvas"
alias dr="dotnet run"
alias dpl="dotnet publish -r linux-x64 --sc"
alias dpw="dotnet publish -r win-x64 --sc"
alias wall="swww img"
alias vz="vim .zshrc"
alias ns="notify-send 'Arch Linux' 'DAMN! You have not riced me since last month. Did u forget ur loving arch wifey..?' --urgency=normal"
alias uu="./.local/bin/check-update"
alias jr="java"
alias jc="javac"
alias ck="~/.config/conky/catppuccin-theme/start.sh"
alias grubup="sudo grub-mkconfig -o /boot/grub/grub.cfg"
alias matrix="neo-matrix -aD --colormode=16"
alias toolbox="curl -fsSL https://christitus.com/linuxdev | sh"
alias c="clear"