Update .zshrc-linux

This commit is contained in:
hgw 2023-10-03 06:08:17 -07:00
parent 779129e2b4
commit 966f529bd9

View File

@ -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
}