Update dotfiles/.zshrc-linux

This commit is contained in:
hgw 2023-10-03 16:15:03 -07:00
parent d16e1d1c13
commit 104a1789be
1 changed files with 9 additions and 3 deletions

View File

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