As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
In this example
$'\n'
is the way to specify the newling within the subsitution$ t='1
> 2
#!/usr/bin/env bash | |
# ref: https://git.521000.bestmunity/t/how-to-check-if-a-container-image-exists-on-ghcr/154836/3 | |
# public image's {USER}/{IMAGE} | |
USER_IMAGE=eggplants/asciiquarium-docker | |
# get token ('{"token":"***"}' -> '***') | |
TOKEN="$( | |
curl "https://ghcr.io/token?scope=repository:${USER_IMAGE}:pull" | | |
awk -F'"' '$0=$4' |