atuin and zoxide

This commit is contained in:
2026-09-15 08:49:55 +01:00
parent 072bc5a37a
commit aa4c35699d
+37
View File
@@ -170,10 +170,27 @@ plugins=(
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
export PATH="$HOME/.cargo/bin:$PATH" export PATH="$HOME/.cargo/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
export PATH="$PATH:/usr/local/go/bin" export PATH="$PATH:/usr/local/go/bin"
export GOPATH="$HOME/go" export GOPATH="$HOME/go"
export PATH="$PATH:$GOPATH/bin" export PATH="$PATH:$GOPATH/bin"
export PATH="$PATH:/opt/mssql-tools18/bin" export PATH="$PATH:/opt/mssql-tools18/bin"
export PATH="$HOME/.atuin/bin:$PATH"
. "$HOME/.local/bin/env"
eval "$(atuin init zsh)"
eval "$(zoxide init zsh)"
alias gp='git push'
alias gcm='git commit -m'
alias gsw='git switch'
alias gst='git status'
alias gaa='git add .'
alias ga='git add'
alias gtree='git log --graph --oneline --decorate --all'
alias cd='z'
alias cdi='zi'
ZSHRC_EOF ZSHRC_EOF
# ============================================================ # ============================================================
@@ -280,6 +297,26 @@ if [[ "$FZF_NEEDS_INSTALL" -eq 1 ]]; then
sudo chmod 0755 /usr/local/bin/fzf sudo chmod 0755 /usr/local/bin/fzf
fi fi
# ============================================================
# zoxide
# ============================================================
echo "=== zoxide ==="
if [[ ! -x "$HOME/.local/bin/zoxide" ]]; then
curl -sSfL https://raw.githubusercontent.com/ajeetdsouza/zoxide/main/install.sh | sh
else
echo "zoxide already installed, skipping."
fi
# ============================================================
# atuin
# ============================================================
echo "=== atuin ==="
if [[ ! -x "$HOME/.local/bin/atuin" ]]; then
curl --proto '=https' --tlsv1.2 -LsSf https://setup.atuin.sh | sh
else
echo "atuin already installed, skipping."
fi
# ============================================================ # ============================================================
# Neovim # Neovim
# ============================================================ # ============================================================