diff options
| author | Pinapelz <donaldshan1@outlook.com> | 2026-03-30 23:07:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-30 23:07:23 -0700 |
| commit | 7ebc3ba10782860919199ddacd72d8698b24c70f (patch) | |
| tree | 122281718b373e0164d1542d4041d235cf6667e5 /other | |
| parent | 4acf85db722ebe7e019e7427436083b3b9f4959e (diff) | |
Add initial Zsh configuration in .zshrc
Diffstat (limited to 'other')
| -rw-r--r-- | other/.zshrc | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/other/.zshrc b/other/.zshrc new file mode 100644 index 00000000..2e81e035 --- /dev/null +++ b/other/.zshrc @@ -0,0 +1,75 @@ +# If you come from bash you might have to change your $PATH. +# export PATH=$HOME/bin:/usr/local/bin:$PATH + +export ZSH="$HOME/.oh-my-zsh" +export GAMEDIR=/home/pinapelz/Games +ZSH_THEME="agnoster" + +plugins=( + git + archlinux + zsh-autosuggestions + zsh-syntax-highlighting +) + +source $ZSH/oh-my-zsh.sh + +# Check archlinux plugin commands here +# https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/archlinux + + +# Display Pokemon-colorscripts +# Project page: https://gitlab.com/phoneybadger/pokemon-colorscripts#on-other-distros-and-macos +#pokemon-colorscripts --no-title -s -r + +# Set-up FZF key bindings (CTRL R for fuzzy history finder) +source <(fzf --zsh) + +HISTFILE=~/.zsh_history +HISTSIZE=10000 +SAVEHIST=10000 +setopt appendhistory +# Created by `pipx` on 2024-08-16 04:36:25 +export PATH="$PATH:/home/pinapelz/.local/bin" +alias xterm-kitty="kitty" + +#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! +export SDKMAN_DIR="$HOME/.sdkman" +[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" +rm -rf "$HOME/.minecraft/webcache2" +alias stirling-pdf="java -jar /usr/share/java/stirling-pdf.jar" +alias update="eos-update && yay && flatpak run update" +export MOZ_DISABLE_WAYLAND_PROXY=1 +. "/home/pinapelz/.deno/env" +alias jfetch="jfetch erina" +alias untargz="tar -xvzf" +alias untar="tar xf" +alias targz="tar -czvf" +alias sign='gpg --clearsign' +alias procon2='/home/pinapelz/Repositories/procon2-hid-tool/venv/bin/python /home/pinapelz/Repositories/procon2-hid-tool/procon2-hid.py' +alias swww='awww' +alias swww-daemon='awww-daemon' +mirror-switch () { + dev=${1:-/dev/video6} + nohup ffplay -f v4l2 -framerate 100 -video_size 1920x1080 -i "$dev" \ + -fflags nobuffer -flags low_delay -framedrop >/dev/null 2>&1 & +} +# Turso +export PATH="$PATH:/home/pinapelz/.turso" + + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +__conda_setup="$('/usr/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__conda_setup" +else + if [ -f "/usr/etc/profile.d/conda.sh" ]; then + . "/usr/etc/profile.d/conda.sh" + else + export PATH="/usr/bin:$PATH" + fi +fi +unset __conda_setup +# <<< conda initialize <<< + |
