~kaction/config

95deacda57a4cdec9cd3762fbdeb6b8ee333f22b — Dmitry Bogatov 2 months ago de33004
gh: use ask(1) secret manager
1 files changed, 1 insertions(+), 4 deletions(-)

M universe/posixrc/init.sh
M universe/posixrc/init.sh => universe/posixrc/init.sh +1 -4
@@ 1,6 1,6 @@
alias ls='ls --color=auto'
alias cd-root='cd "$(git root)"'
alias gh='GITHUB_TOKEN=${GITHUB_TOKEN} command gh'
alias gh='GITHUB_TOKEN=`ask https://kaction@github.com` command gh'

vidir() {
	if [ $# = 0 ] ; then


@@ 10,8 10,5 @@ vidir() {
	fi
}

if [ -r /etc/profile.d/auth.sh ] ; then
	. /etc/profile.d/auth.sh
fi
mkdir -p "/dev/shm/${USER}/volatile"
echo "${MSMTP_PASSWORD:-}" > "/dev/shm/${USER}/volatile/kaction.cc"