From 3805d6fcb17f67da64450ed5e862c9b529d07a87 Mon Sep 17 00:00:00 2001 From: Amolith Date: Thu, 21 Dec 2023 16:07:50 -0500 Subject: [PATCH] Improve tmp alias and remove unused func --- dot_config/zsh/private_dot_zshrc.tmpl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/dot_config/zsh/private_dot_zshrc.tmpl b/dot_config/zsh/private_dot_zshrc.tmpl index 0ded45ba19dabf1bbcce88bd76928d392146aed1..fc98b7f5a911d8bfb8777876bc6c78185cb2744e 100644 --- a/dot_config/zsh/private_dot_zshrc.tmpl +++ b/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" }