-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.zshrc
109 lines (96 loc) · 2.9 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
#############
# GENERAL #
#############
zstyle ':omz:update' mode reminder
zstyle ':omz:update' frequency 21
CASE_SENSITIVE="false"
DISABLE_LS_COLORS="false"
DISABLE_AUTO_TITLE="false"
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="false"
###########
# HISTORY #
###########
export HISTSIZE=100000
export SAVEHIST=100000
export HISTDUP=erase
setopt APPENDHISTORY
setopt SHARE_HISTORY
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
######################
# ALIASES #
######################
alias :q="exit"
alias ls='eza --icons --color=always --group-directories-first'
alias ll='eza -alF --icons --color=always --group-directories-first'
alias la='eza -a --icons --color=always --group-directories-first'
alias l='eza -F --icons --color=always --group-directories-first'
alias l.='eza -a | egrep "^\."'
alias z="./.local/opt/zero/Zero.CLI"
alias zero="./.local/opt/zero/Zero.CLI"
alias wall="swww img"
alias vz="vim ~/.zshrc"
alias ve="vim ~/.zshenv"
alias vk="vim ~/.config/kitty/kitty.conf"
alias ns="dunstify 'Arch Linux' 'DAMN! You have not riced me since last month. Did u forget ur loving arch wifey..?' -a System -u normal"
alias xzz="XZ_OPT='-9 -T12' tar -cJf"
alias gzz="tar -czf"
alias zst="tar -I 'zstd -19 -T12' -cf"
alias 7zz="7z a -t7z -m0=lzma2 -mx=9 -mmt=12 -mqs=on"
alias cdc="cd && cd Code"
alias cdd="cd && cd Downloads"
alias cdg="cd && cd Github"
alias tp="trash-put"
alias rwa="random-wall ~/Pictures/Wallpapers/Anime"
alias rwc="random-wall ~/Pictures/Wallpapers/Cute"
alias rwm="random-wall ~/Pictures/Wallpapers/ML"
alias rwg="random-wall ~/Pictures/Wallpapers/Old-G"
alias rwo="random-wall ~/Pictures/Wallpapers/Other"
alias rwl="random-wall ~/Pictures/Wallpapers/League"
alias rww="random-wall ~/Pictures/Wallpapers/WD"
alias vi="nvim"
alias vim="nvim"
alias ac="aria2c"
alias ff="fastfetch"
alias mk="musikcube"
alias mg="mega-get"
alias y="yazi"
alias yd="yt-dlp -f 'bv*[height<=1080][ext=mp4]+ba[ext=m4a]/b[height<=1080][ext=mp4]/bv*+ba/b' --embed-thumbnail --embed-metadata"
alias yd720="yt-dlp -f 'bv[ext=mp4][height=720]+ba[ext=m4a]/b[ext=mp4][height<=720]' --embed-thumbnail --embed-metadata"
alias jr="java"
alias jc="javac"
alias py="python"
alias dr="dotnet run"
alias dpl="dotnet publish -r linux-x64 --sc"
alias dpw="dotnet publish -r win-x64 --sc"
alias gcc="gcc -Wall"
alias g++="g++ -Wall"
alias cl="clang -std=c23 -Wall"
alias cl++="clang++ -std=c++23 -Wall"
alias sctl="systemctl"
alias sctls="systemctl status"
alias sctle="systemctl enable"
alias sctld="systemctl disable"
alias sctlr="systemctl restart"
alias pm="pacman"
alias se="sudoedit"
###########
# START #
###########
cat ~/.arch | lolcat
echo "Welocome, $USER!" | lolcat
eval "$(starship init zsh)"