1
0
Fork 0
mirror of https://gitlab.com/mlunax/dotfiles.git synced 2025-04-16 07:26:51 +00:00

add notica

This commit is contained in:
Luna 2023-04-29 10:27:08 +02:00
parent 7f774148b8
commit 847e35c5b8
2 changed files with 8 additions and 1 deletions

View file

@ -7,3 +7,6 @@ export devTools=""
# Uncomment if u want this env (default: $HOME/.local/npm"):
# export NPM_CONFIG_PREFIX=""
# NOTICA
export NOTICA_URL=""

View file

@ -15,4 +15,8 @@ squash() {
escfpath(){
printf "%q\n" "$(realpath "$1")"
}
}
if [[ -z "NOTICA_URL" ]]; then
notica() { curl --data "d:$*" "$NOTICA_URL" ; }
fi