From c4ce69aa1d6e62b44019b2fcfcae0f6dbdba9e2e Mon Sep 17 00:00:00 2001 From: Luna Komorebi Date: Sat, 29 Apr 2023 10:33:03 +0200 Subject: [PATCH] fix notica var if --- .zsh/func.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.zsh/func.zsh b/.zsh/func.zsh index 3f473d2..7c805a6 100644 --- a/.zsh/func.zsh +++ b/.zsh/func.zsh @@ -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 \ No newline at end of file