From 966f529bd907b628c8758b2e3486b4b121f203e3 Mon Sep 17 00:00:00 2001 From: hgw Date: Tue, 3 Oct 2023 06:08:17 -0700 Subject: [PATCH] Update .zshrc-linux --- .zshrc-linux | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.zshrc-linux b/.zshrc-linux index 34dceea..4e70cfa 100644 --- a/.zshrc-linux +++ b/.zshrc-linux @@ -18,12 +18,12 @@ hf() { curl -F file=@$1 https://hardfiles.org | pbcopy } #hfs() { -# filename=/Users/$(whoami)/.scrot/$(cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 50 | head -n 1).png +# filename=$HOME/.scrot/$(cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 50 | head -n 1).png # screencapture -i $filename # hf $filename #} hft() { - filename=/Users/$(whoami)/.scrot/$(cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 50 | head -n 1).txt + filename=$HOME/.scrot/$(cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 50 | head -n 1).txt nano $filename hf $filename } \ No newline at end of file