2023-10-03 13:04:47 +00:00
|
|
|
# --- OH-MY-ZSH ---
|
|
|
|
export ZSH="/Users/USER/.oh-my-zsh"
|
|
|
|
ZSH_THEME="philips"
|
|
|
|
zstyle ':omz:update' mode auto
|
|
|
|
zstyle ':omz:update' frequency 7
|
|
|
|
plugins=(git)
|
|
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
|
|
|
|
# --- ALIAS ---
|
|
|
|
alias wipe='exiftool -all='
|
|
|
|
alias comp='imageoptim'
|
|
|
|
alias traceroute='traceroute -a -w 2'
|
2023-10-03 13:28:14 +00:00
|
|
|
alias ls="gls -lhs --color --group-directories-first" # brew install coreutils to use gls
|
|
|
|
alias lsa="gls -lhsa --color --group-directories-first"
|
2023-10-03 13:04:47 +00:00
|
|
|
alias gcs="git commit -S -m"
|
|
|
|
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
|
|
|
|
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
|
|
|
|
nano $filename
|
|
|
|
hf $filename
|
|
|
|
}
|
|
|
|
|
|
|
|
# --- PATH ---
|
|
|
|
#Uncomment as needed
|
|
|
|
#export PATH="/Users/$(whoami)/flutter/bin:$PATH"
|
|
|
|
#export PATH="/usr/local/opt/llvm/bin:$PATH"
|