From 6762a87b832aba1823ba87daa8a0612b48cf59cc Mon Sep 17 00:00:00 2001 From: Raine Date: Sat, 14 Oct 2023 22:38:16 +0200 Subject: [PATCH] feat: zsh --- crates/10-zsh/files/.zshrc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/crates/10-zsh/files/.zshrc b/crates/10-zsh/files/.zshrc index 6f027bf..6a11cad 100644 --- a/crates/10-zsh/files/.zshrc +++ b/crates/10-zsh/files/.zshrc @@ -23,4 +23,18 @@ update_dotfiles() { } alias udf="update_dotfiles" +0file() { curl -F"file=@$1" {0} ; } +0pb() { curl -F"file=@-;" https://envs.sh ; } +0url() { curl -F"url=$1" https://envs.sh ; } +0short() { curl -F"shorten=$1" https://envs.sh ; } + + export PATH="${PATH}:/home/${USER}/.local/bin" + +# pnpm +export PNPM_HOME="/home/raine/.local/share/pnpm" +case ":$PATH:" in + *":$PNPM_HOME:"*) ;; + *) export PATH="$PNPM_HOME:$PATH" ;; +esac +# pnpm end \ No newline at end of file