Remove old VM helpers

This commit is contained in:
MangoPig
2026-05-31 21:21:39 +01:00
parent a93648e946
commit 5cefa4019b
5 changed files with 15 additions and 150 deletions

22
.zshrc
View File

@@ -3,6 +3,9 @@
# Zsh Configuration
export ZSH="$HOME/.oh-my-zsh"
# Programming Languages Root
export PROG_DIR="$HOME/.programming"
PROMPT="%B%~%b :: "
RPROMPT="%n@%m"
@@ -11,11 +14,9 @@ plugins=(git zsh-syntax-highlighting zsh-autosuggestions sudo rclone rust nvm go
source $ZSH/oh-my-zsh.sh
# Programming Languages Root
export PROG_DIR="$HOME/.programming"
# Go and GVM (Black Box)
export GVM_ROOT="$PROG_DIR/go"
export GOPATH="$PROG_DIR/go"
export GVM_ROOT="$GOPATH"
[[ -s "$GVM_ROOT/scripts/gvm" ]] && source "$GVM_ROOT/scripts/gvm"
# Node and NVM (Lazy Load)
@@ -57,20 +58,23 @@ if [ -d "$RIG_HOME/bin" ]; then
fi
# Zoxide
eval "$(zoxide init --cmd cd zsh)"
if command -v zoxide >/dev/null 2>&1; then
eval "$(zoxide init --cmd cd zsh)"
fi
# Source Aliases & Secrets
[ -f ~/.zsh_aliases ] && source ~/.zsh_aliases
[ -f ~/.zsh_secrets ] && source ~/.zsh_secrets
# Add to PATH
export PATH="$HOME/.local/bin:$CARGO_HOME/bin:$PATH"
export PATH="$GOPATH/bin:$PATH"
export PATH="$HOME/.local/bin:$CARGO_HOME/bin:$GOPATH/bin:$PATH"
# opencode
if ! pgrep -f "openchamber.*7891" > /dev/null; then
if command -v openchamber >/dev/null 2>&1 && ! pgrep -f "openchamber.*7891" > /dev/null; then
openchamber --port 7891 >/dev/null 2>&1
fi
# direnv
eval "$(direnv hook zsh)"
if command -v direnv >/dev/null 2>&1; then
eval "$(direnv hook zsh)"
fi