mirror of
https://gitlab.com/mlunax/dotfiles.git
synced 2025-04-16 07:26:51 +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"):
|
||||
# export NPM_CONFIG_PREFIX=""
|
||||
|
||||
# NOTICA
|
||||
export NOTICA_URL=""
|
|
@ -15,4 +15,8 @@ squash() {
|
|||
|
||||
escfpath(){
|
||||
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