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

fix notica var if

This commit is contained in:
Luna 2023-04-29 10:33:03 +02:00
parent ce8cf312f1
commit c4ce69aa1d

View file

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