feat(aliases): add get-soj-pwd and fbcurl

This commit is contained in:
2026-02-26 15:02:29 +02:00
parent 0ab4f76f83
commit bfbaa5897f

View File

@@ -204,3 +204,14 @@ alias stremio-stop="docker stop \$(docker ps -q --filter ancestor=stremio/server
alias stremio-logs="docker logs -f \$(docker ps -q --filter ancestor=stremio/server)"
alias stremio-restart="stremio-stop && stremio-start"
alias addbill="exp add -c bill -m card -b common -f common"
alias get-soj-pwd="op item get sojourny --format json --fields 'superuser id token' --reveal | jq -r .value | tr -d '\n'"
fbcurl() {
if [ -z "$FBPWD" ]; then
printf "Enter password: "
read FBPWD
echo
export FBPWD
fi
curl -fsSL -H "Authorization: Bearer $FBPWD" "$@"
}