diff --git a/.zsh/env.zsh b/.zsh/env.zsh index 13f867e..c58b26d 100644 --- a/.zsh/env.zsh +++ b/.zsh/env.zsh @@ -7,3 +7,6 @@ export devTools="" # Uncomment if u want this env (default: $HOME/.local/npm"): # export NPM_CONFIG_PREFIX="" + +# NOTICA +export NOTICA_URL="" \ No newline at end of file diff --git a/.zsh/func.zsh b/.zsh/func.zsh index 90d67ad..fe8e92b 100644 --- a/.zsh/func.zsh +++ b/.zsh/func.zsh @@ -15,4 +15,8 @@ squash() { escfpath(){ printf "%q\n" "$(realpath "$1")" -} \ No newline at end of file +} + +if [[ -z "NOTICA_URL" ]]; then + notica() { curl --data "d:$*" "$NOTICA_URL" ; } +fi \ No newline at end of file