dotfiles/conf.d/zim/modules/manjaro/init.zsh

48 lines
1.7 KiB
Bash
Raw Normal View History

2021-03-03 16:40:34 +00:00
#!/bin/zsh
# File : init.zsh
# Author : Jeff LANCE <email@jefflance.me>
# Date : 03.03.2021
# Last Modified Date: 03.03.2021
# Last Modified By : Jeff LANCE <email@jefflance.me>
#
# Manjaro Shortcuts and Aliases
#
#
# pamac Operations
#
2021-03-27 16:21:59 +00:00
alias pasea='pamac search' # search through package repositories
2021-03-27 16:01:37 +00:00
alias painf='pamac info' # show info about a package
alias pau='pamac update' # update packages database
alias paU='pamac upgrade' # upgrade packages
alias pain='pamac install' # install package
2021-03-27 16:21:59 +00:00
alias parem='pamac remove' # remove package
2021-03-27 16:01:37 +00:00
alias pauU='pamud && pamug'
2021-03-27 16:21:59 +00:00
alias pareo='parem -o' # remove orphan packages
#
# pacman Operations
#
2021-03-27 16:39:21 +00:00
alias pacss='pacman -Ss' # search through package repositories
alias pacsi='pacman -Si' # display info about a package in the repositories
alias pacud='sudo pacman -Sy' # update & refresh local package db
alias pacug='sudo pacman -Syu' # sync with repositories before upgrading packages
alias pacin='sudo pacman -S' # install package from repositories
alias pacrm='sudo pacman -R' # remove package, keeping settings and depedencies
alias pacRm='sudo pacman -Rns' # remove package with its settings and depedencies
2021-03-27 16:21:59 +00:00
alias paclo='sudo pacman -Qdt' # list orphans
alias pacro='sudo pacman -Rs $(pacman -Qdt)' # remove orphans
2021-03-27 16:39:21 +00:00
alias pacow='pacmon -Qo' # show which package own a file
2021-03-03 16:40:34 +00:00
#
# pkgfile Operations
#
2021-03-27 16:01:37 +00:00
alias pasf ='pkgfile' # search file in packages
2021-03-03 16:40:34 +00:00