atuin and zoxide
This commit is contained in:
@@ -170,10 +170,27 @@ plugins=(
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
export PATH="$HOME/.cargo/bin:$PATH"
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$PATH:/usr/local/go/bin"
|
||||
export GOPATH="$HOME/go"
|
||||
export PATH="$PATH:$GOPATH/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
|
||||
|
||||
# ============================================================
|
||||
@@ -280,6 +297,26 @@ if [[ "$FZF_NEEDS_INSTALL" -eq 1 ]]; then
|
||||
sudo chmod 0755 /usr/local/bin/fzf
|
||||
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
|
||||
# ============================================================
|
||||
|
||||
Reference in New Issue
Block a user