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