update configs

This commit is contained in:
2024-11-11 02:30:59 +01:00
parent a0fb1d31f3
commit 5714f8612c
14 changed files with 495 additions and 171 deletions

21
.zshrc
View File

@ -65,6 +65,9 @@ DISABLE_UNTRACKED_FILES_DIRTY="true"
# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder
# Force pyenv to stop complaining about non-interactive shells
ZSH_PYENV_QUIET="true"
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
@ -109,12 +112,6 @@ fi
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"
# pyenv stuff
export PYENV_ROOT="$HOME/.pyenv"
command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
# Reboot to Windows
reboot_windows()
{
@ -145,7 +142,7 @@ alias wol=wakeonlan
alias ge=gnome-extensions
alias open="xdg-open"
alias lg="lazygit"
alias wstmux="cd ~/code/wasteside && tmux new -A -s wasteside"
alias wstmux="cd ~/code/wasteside/app && tmux new -A -s wasteside"
alias R="R --no-save"
@ -169,11 +166,6 @@ HISTFILE=~/.histfile
HISTSIZE=10000
SAVEHIST=10000
# reload "blur my shell"
alias blur-my-shell="gnome-extensions disable blur-my-shell@aunetx && gnome-extensions enable blur-my-shell@aunetx"
alias bms=blur-my-shell
bms # run it, so it reloads on terminal open
# zoxide
eval "$(zoxide init --cmd cd zsh)"
@ -183,3 +175,8 @@ export SDKMAN_DIR="$HOME/.sdkman"
# Yarn
export PATH="$HOME/.yarn/bin:$PATH"
# pyenv stuff (make sure this is at the end of the file)
export PYENV_ROOT="$HOME/.pyenv"
[[ -d $PYENV_ROOT/bin ]] && export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"