kshrc: fix PKG_PATH with multi-line installurl

This commit is contained in:
Aaron Bieber 2022-07-25 06:12:16 -07:00
parent 39b416b21e
commit 20cfbeb644

2
.kshrc
View File

@ -3,7 +3,7 @@ BROWSER=$(which xdg-open 2>/dev/null)
OHMYKSH_DIR=${HOME}/src/ohmyksh
OHMYPATCHES=~/patches
PKG_PATH="$(cat /etc/installurl)/snapshots/packages/%a"
PKG_PATH="$(head -n1 /etc/installurl)/snapshots/packages/%a"
export GOT_AUTHOR BROWSER OHMYKSH_DIR OHMYPATCHES PKG_PATH