From 779129e2b44a91699a3b74f1e3415a0e5c0a6c0c Mon Sep 17 00:00:00 2001 From: hgw Date: Tue, 3 Oct 2023 06:07:10 -0700 Subject: [PATCH] Add .zshrc-linux --- .zshrc-linux | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .zshrc-linux diff --git a/.zshrc-linux b/.zshrc-linux new file mode 100644 index 0000000..34dceea --- /dev/null +++ b/.zshrc-linux @@ -0,0 +1,29 @@ +# --- OH-MY-ZSH --- +export ZSH="$HOME/.oh-my-zsh" +ZSH_THEME="philips" +zstyle ':omz:update' mode auto +zstyle ':omz:update' frequency 7 +plugins=(git) +source $ZSH/oh-my-zsh.sh +export LANG=en_US.UTF-8 +export EDITOR='nano' + +# --- ALIAS --- +alias traceroute='traceroute -a -w 2' +alias ls="ls -lhs --color --group-directories-first" +alias lsa="ls -lhsa --color --group-directories-first" +alias gcs="git commit -S -m" +alias duf="docker compose down && docker compose up -d --build && docker compose logs -f" +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 +} \ No newline at end of file