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