mirror of
https://github.com/ItsDrike/dotfiles.git
synced 2024-12-26 13:14:35 +00:00
Remove pacman aliases
This commit is contained in:
parent
8566d2cfc9
commit
93bde27829
|
@ -195,36 +195,6 @@ alias gundo='git reset HEAD~'
|
||||||
alias gredo="git reset 'HEAD@{1}'"
|
alias gredo="git reset 'HEAD@{1}'"
|
||||||
alias gundopush="git push -f origin HEAD^:master"
|
alias gundopush="git push -f origin HEAD^:master"
|
||||||
|
|
||||||
# Pacman aliases (using pacman directly would be faster, but I have goldfish memory)
|
|
||||||
alias pac-pkgs='pacman -Q' # List all packages on the system
|
|
||||||
alias pac-installed-pkgs='pacman -Qe' # Only list explicitly installed packages
|
|
||||||
alias pac-aur-pkgs='pacman -Qm' # Not necessarely AUR, but generally foreign (not in sync db)
|
|
||||||
alias pac-orphan-pkgs='pacman -Qdt' # Packages without any packages that depend on them
|
|
||||||
alias pac-rm-orphans='pacman -Rns $(pacman -Qdtq)' # Remove all orphaned packages
|
|
||||||
alias pac-search='pacman -Ss' # Lookup package by name from sync database
|
|
||||||
alias pac-search-local='pacman -Qs' # Lookup package by name from local database
|
|
||||||
alias pac-info='pacman -Qi' # Show detailed info about a local package
|
|
||||||
alias pac-info-remote='pacman -Si' # Show detailed info about a package in sync db
|
|
||||||
alias pac-download-upgrades='pacman -Syyuw' # Download all upgradeable packages, but don't upgrade
|
|
||||||
alias pac-extract='pacman -Syw --cachedir .' # Download given package to current directory
|
|
||||||
alias pac-cache-clean='pacman -Sc' # Remove all old packages in pacman cache
|
|
||||||
alias pac-file-owner='pacman -F' # Look in the sync db and check what package owns given filei
|
|
||||||
alias pac-file-owner-regex='pacman -Fx' # Same as above, but works with partial names or regex patterns
|
|
||||||
alias pac-file-owner-local='pacman -Qo' # Look in the local index and find which packge given file belongs to
|
|
||||||
alias pac-owned-files='pacman -Fl' # Show all files owned by given package from sync db
|
|
||||||
alias pac-owned-files-local='pacman -Ql' # Same as above, but for locally installed packages
|
|
||||||
alias pac-count-files='pacman -Qk' # Print amount of owned files, with the amount of missing files
|
|
||||||
alias pac-group-packages='pacman -Sg' # List all packages which will be installed with a group
|
|
||||||
alias pac-group-packages-local='pacman -Qg' # Only list locally installed packages from given group
|
|
||||||
alias vuln='arch-audit' # Show vulnerable packages that can be upgraded (Arch Linux)
|
|
||||||
alias vuln-upgrade="pacman -Sy \"\$(arch-audit --upgradable --quiet | awk '{sub(/>=.+/, \"\"); print}' | paste -s -d ' ')\"" # Upgrade all vulnerable packages, with released fixes
|
|
||||||
|
|
||||||
# Get fastest mirrors (using reflector)
|
|
||||||
alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist"
|
|
||||||
alias mirrord="sudo reflector --latest 50 --number 20 --sort delay --save /etc/pacman.d/mirrorlist"
|
|
||||||
alias mirrors="sudo reflector --latest 50 --number 20 --sort score --save /etc/pacman.d/mirrorlist"
|
|
||||||
alias mirrora="sudo reflector --latest 50 --number 20 --sort age --save /etc/pacman.d/mirrorlist"
|
|
||||||
|
|
||||||
# Youtube-dl aliases
|
# Youtube-dl aliases
|
||||||
alias ytv-best='youtube-dl -f bestvideo+bestaudio'
|
alias ytv-best='youtube-dl -f bestvideo+bestaudio'
|
||||||
alias yta-best='youtube-dl --extract-audio --audio-format best'
|
alias yta-best='youtube-dl --extract-audio --audio-format best'
|
||||||
|
|
Loading…
Reference in a new issue