@@ -12,7 +12,6 @@ source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.
1212# source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
1313
1414
15-
1615# Display ISO version and distribution information in short
1716alias version=" sed -n 1p /etc/os-release && sed -n 7p /etc/os-release && sed -n 8p /etc/os-release"
1817
@@ -28,7 +27,6 @@ alias clr-cache="sudo pacman -Scc"
2827alias unlock=" sudo rm /var/lib/pacman/db.lck"
2928alias remove=" sudo pacman -R"
3029alias autoremove=" sudo pacman -Rns"
31- alias neofetch=" neofetch --ascii_distro TcetLinux1"
3230
3331# Fix keyring and gnupg mount isuue
3432alias 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
3836# bindkey '^[[1;5D' backward-word # Ctrl+Left arrow
3937
4038
41-
42-
43-
44-
4539# # Path section
4640# Set $PATH if ~/.local/bin exist
4741if [ -d " $HOME /.local/bin" ]; then
@@ -54,7 +48,6 @@ function set_win_title(){
5448}
5549precmd_functions+=(set_win_title)
5650
57-
5851# # Plugins section: Enable fish style features
5952# Use syntax highlighting
6053source /usr/share/zsh/plugins/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
@@ -238,47 +231,6 @@ if [[ -n "${key[Alt-Right]}" ]]; then
238231 bindkey -M vicmd " ${key[Alt-Right]} " forward-word
239232fi
240233
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-
282234# Load Mcfly
283235export MCFLY_FUZZY=true
284236export MCFLY_RESULTS=20
0 commit comments