Update dotfiles/.zshrc-linux

This commit is contained in:
hgw 2023-10-03 16:15:03 -07:00
parent d16e1d1c13
commit 104a1789be

View File

@ -1,6 +1,6 @@
# --- OH-MY-ZSH --- # --- OH-MY-ZSH ---
export ZSH="$HOME/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="philips" ZSH_THEME="clean"
zstyle ':omz:update' mode auto zstyle ':omz:update' mode auto
zstyle ':omz:update' frequency 7 zstyle ':omz:update' frequency 7
plugins=(git) plugins=(git)
@ -17,13 +17,19 @@ alias duf="docker compose down && docker compose up -d --build && docker compose
hf() { hf() {
curl -F file=@$1 https://hardfiles.org curl -F file=@$1 https://hardfiles.org
} }
# Uncomment if on desktop
#hfs() { #hfs() {
# filename=$HOME/.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 # flameshot gui -p $filename
# hf $filename # hf $filename
#} #}
hft() { hft() {
filename=$HOME/.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 nano $filename
hf $filename hf $filename
} }
# Session Manager (Uncomment if desktop)
#if [[ ! ${DISPLAY} && ${XDG_VTNR} == 1 ]]; then
# exec tbsm
#fi