mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-19 08:45:36 +00:00
add notica
This commit is contained in:
parent
7f774148b8
commit
847e35c5b8
2 changed files with 8 additions and 1 deletions
|
@ -7,3 +7,6 @@ export devTools=""
|
||||||
|
|
||||||
# Uncomment if u want this env (default: $HOME/.local/npm"):
|
# Uncomment if u want this env (default: $HOME/.local/npm"):
|
||||||
# export NPM_CONFIG_PREFIX=""
|
# export NPM_CONFIG_PREFIX=""
|
||||||
|
|
||||||
|
# NOTICA
|
||||||
|
export NOTICA_URL=""
|
|
@ -16,3 +16,7 @@ squash() {
|
||||||
escfpath(){
|
escfpath(){
|
||||||
printf "%q\n" "$(realpath "$1")"
|
printf "%q\n" "$(realpath "$1")"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [[ -z "NOTICA_URL" ]]; then
|
||||||
|
notica() { curl --data "d:$*" "$NOTICA_URL" ; }
|
||||||
|
fi
|
Loading…
Add table
Reference in a new issue