set PKG_PATH and use 'scp -s'

This commit is contained in:
Aaron Bieber 2021-10-02 08:38:31 -06:00
parent 62d39a8d18
commit 323fbd9789

5
.kshrc
View File

@ -3,7 +3,9 @@ BROWSER=$(which xdg-open 2>/dev/null)
OHMYKSH_DIR=${HOME}/src/ohmyksh
OHMYPATCHES=~/patches
export GOT_AUTHOR BROWSER OHMYKSH_DIR OHMYPATCHES
PKG_PATH="$(cat /etc/installurl)/snapshots/packages/%a"
export GOT_AUTHOR BROWSER OHMYKSH_DIR OHMYPATCHES PKG_PATH
. ${OHMYKSH_DIR}/ohmy.ksh
@ -45,6 +47,7 @@ alias lookman='man -k'
alias gomuks='env GOMUKS_CACHE_HOME=~/.gomuks gomuks'
alias jfd='doas /usr/sbin/sysupgrade'
alias goupdate='make MODGO_VERSION=latest modgo-gen-modules'
alias scp='scp -s'
# the q prompt auto-loads the git-prompt extension
set_prompt q