Use $AURDIR and $CUSTOMDIR instead of hardcoding paths
This commit is contained in:
parent
220b4eab9a
commit
f8ff39ad93
@ -40,8 +40,8 @@ alias -g updatemirrors="reflector --verbose --country 'United States' --latest 2
|
||||
# ========== Packaging ==========
|
||||
# Arch Linux
|
||||
alias aurcache='cd ${XDG_CACHE_HOME}/aurutils/sync'
|
||||
alias aurdir='cd /var/cache/pacman/aur'
|
||||
alias customdir='cd /var/cache/pacman/custom'
|
||||
alias aurdir='cd "$AURDIR"'
|
||||
alias customdir='cd "$CUSTOMDIR"'
|
||||
alias gpkginit='cp /usr/share/pacman/PKGBUILD-vcs.proto ./PKGBUILD'
|
||||
alias pkginit='cp /usr/share/pacman/PKGBUILD.proto ./PKGBUILD'
|
||||
alias pa='makepkg --force --clean --cleanbuild --syncdeps --rmdeps && addpkg aur'
|
||||
|
@ -33,3 +33,8 @@ export AUR_PAGER="ranger"
|
||||
|
||||
# Disable debug messages for wine
|
||||
export WINEDEBUG='-all'
|
||||
|
||||
# Paths
|
||||
_PACMAN_CACHE='/var/cache/pacman'
|
||||
export AURDIR="$_PACMAN_CACHE/aur"
|
||||
export CUSTOMDIR="$_PACMAN_CACHE/custom"
|
||||
|
Loading…
x
Reference in New Issue
Block a user