@@ -12,7 +12,6 @@ source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.
12
12
# source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
13
13
14
14
15
-
16
15
# Display ISO version and distribution information in short
17
16
alias version=" sed -n 1p /etc/os-release && sed -n 7p /etc/os-release && sed -n 8p /etc/os-release"
18
17
@@ -28,7 +27,6 @@ alias clr-cache="sudo pacman -Scc"
28
27
alias unlock=" sudo rm /var/lib/pacman/db.lck"
29
28
alias remove=" sudo pacman -R"
30
29
alias autoremove=" sudo pacman -Rns"
31
- alias neofetch=" neofetch --ascii_distro TcetLinux1"
32
30
33
31
# Fix keyring and gnupg mount isuue
34
32
alias fix-keys=" sudo rm -rvf /etc/pacman.d/gnupg && sudo pacman-key --init && sudo pacman-key --populate"
@@ -38,10 +36,6 @@ alias fix-keys="sudo rm -rvf /etc/pacman.d/gnupg && sudo pacman-key --init && su
38
36
# bindkey '^[[1;5D' backward-word # Ctrl+Left arrow
39
37
40
38
41
-
42
-
43
-
44
-
45
39
# # Path section
46
40
# Set $PATH if ~/.local/bin exist
47
41
if [ -d " $HOME /.local/bin" ]; then
@@ -54,7 +48,6 @@ function set_win_title(){
54
48
}
55
49
precmd_functions+=(set_win_title)
56
50
57
-
58
51
# # Plugins section: Enable fish style features
59
52
# Use syntax highlighting
60
53
source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
@@ -238,47 +231,6 @@ if [[ -n "${key[Alt-Right]}" ]]; then
238
231
bindkey -M vicmd " ${key[Alt-Right]} " forward-word
239
232
fi
240
233
241
- # # Useful aliases
242
- alias grubup=" sudo update-grub"
243
- alias fixpacman=" sudo rm /var/lib/pacman/db.lck"
244
- alias tarnow=' tar -acf '
245
- alias untar=' tar -zxvf '
246
- alias wget=' wget -c '
247
- alias rmpkg=" sudo pacman -Rdd"
248
- alias psmem=' ps auxf | sort -nr -k 4'
249
- alias psmem10=' ps auxf | sort -nr -k 4 | head -10'
250
- alias ..=' cd ..'
251
- alias ...=' cd ../..'
252
- alias ....=' cd ../../..'
253
- alias .....=' cd ../../../..'
254
- alias ......=' cd ../../../../..'
255
- alias dir=' dir --color=auto'
256
- alias vdir=' vdir --color=auto'
257
- alias grep=' grep --color=auto'
258
- alias fgrep=' grep -F --color=auto'
259
- alias egrep=' grep -E --color=auto'
260
- alias hw=' hwinfo --short' # Hardware Info
261
- alias big=" expac -H M '%m\t%n' | sort -h | nl" # Sort installed packages according to size in MB (expac must be installed)
262
- alias gitpkg=' pacman -Q | grep -i "\-git" | wc -l' # List amount of -git packages
263
-
264
- # Get fastest mirrors
265
- alias mirror=" sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
266
- alias mirrord=" sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist"
267
- alias mirrors=" sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist"
268
- alias mirrora=" sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"
269
-
270
- # Help people new to Arch
271
- alias apt-get=' man pacman'
272
- alias apt=' man pacman'
273
- alias helpme=' cht.sh --shell'
274
- alias pacdiff=' sudo -H DIFFPROG=meld pacdiff'
275
- alias please=' sudo'
276
- alias tb=' nc termbin.com 9999'
277
- alias upd=" /usr/bin/update"
278
-
279
- # Replace yay with paru if installed
280
- [ ! -x /usr/bin/yay ] && [ -x /usr/bin/paru ] && alias yay=' paru'
281
-
282
234
# Load Mcfly
283
235
export MCFLY_FUZZY=true
284
236
export MCFLY_RESULTS=20
0 commit comments