Add haste-client

This commit is contained in:
Tobias Reisinger 2024-05-12 18:38:33 +02:00
parent a6e4ce98f0
commit 9e0e4ac61f
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
3 changed files with 8 additions and 5 deletions

View file

@ -11,10 +11,10 @@ url="$(git remote get-url origin)"
re="^(https|git)(:\/\/|@)([^\/:]+)[\/:]([^\/:]+)\/(.+)(.git)*$" re="^(https|git)(:\/\/|@)([^\/:]+)[\/:]([^\/:]+)\/(.+)(.git)*$"
if [[ $url =~ $re ]]; then if [[ $url =~ $re ]]; then
#protocol=${BASH_REMATCH[1]} #protocol=${BASH_REMATCH[1]}
#separator=${BASH_REMATCH[2]} #separator=${BASH_REMATCH[2]}
#hostname=${BASH_REMATCH[3]} #hostname=${BASH_REMATCH[3]}
user=${BASH_REMATCH[4]} user=${BASH_REMATCH[4]}
repo=$(basename -s .git "${BASH_REMATCH[5]}") repo=$(basename -s .git "${BASH_REMATCH[5]}")
fi fi

View file

@ -1,6 +1,8 @@
#!/usr/bin/env sh #!/usr/bin/env sh
export DRONE_SERVER='https://ci.serguzim.me' export DRONE_SERVER="https://ci.serguzim.me"
export HASTE_SERVER="https://haste.snrd.eu"
export LINKWARDEN_URL="https://bookmarks.serguzim.me" export LINKWARDEN_URL="https://bookmarks.serguzim.me"

View file

@ -18,6 +18,7 @@
git # git git # git
gitflow # tool for git workflow gitflow # tool for git workflow
git-lfs # git support for large files git-lfs # git support for large files
haste-client # tool to paste files
hostname # tool to get hostname hostname # tool to get hostname
jq # tool for json jq # tool for json
moar # moar is less moar # moar is less