Improve tmp alias and remove unused func

Amolith created

Change summary

dot_config/zsh/private_dot_zshrc.tmpl | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)

Detailed changes

dot_config/zsh/private_dot_zshrc.tmpl 🔗

@@ -170,7 +170,7 @@ alias datetime="date +%Y-%m-%d_%H%M%S_%Z"
 alias e="$EDITOR"
 alias u="linx-client"
 alias clip="xclip -selection clipboard"
-alias tmp="cd $(mktemp -d)"
+alias tmp="cd $(mktemp -d) && export TEMP=$(pwd) "
 alias send="rsync -amzzP"
 alias tree="eza --tree"
 alias bat="bat -n --tabs 2"
@@ -200,9 +200,6 @@ function pass() {
 function gi() {
     curl -sLw https://www.toptal.com/developers/gitignore/api/$@ ;
 }
-function noti() {
-    curl 'https://{{ .gotify_url }}/message?token={{- .gotify_token -}}' -F "title=$1" -F "message=$2" -F "priority=4"
-}
 # Hide the terminal when these apps are opened from a terminal
 function zathura() { devour zathura "$1" }
 function inkscape() { devour inkscape "$1" }