fix: atuin typo

This commit is contained in:
reeink 2024-05-10 20:04:06 +08:00
parent 2aefb9c41f
commit 01f5e8ff8c
No known key found for this signature in database

View file

@ -77,9 +77,9 @@ eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh
source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# >>> mamba initialize >>> # micromamba
# !! Contents within this block are managed by 'mamba init' !! if command -v micromamba &> /dev/null; then
export MAMBA_EXE='/usr/bin/micromamba'; export MAMBA_EXE=$(which micromamba);
export MAMBA_ROOT_PREFIX='~/.micromamba'; export MAMBA_ROOT_PREFIX='~/.micromamba';
__mamba_setup="$("$MAMBA_EXE" shell hook --shell zsh --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)" __mamba_setup="$("$MAMBA_EXE" shell hook --shell zsh --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)"
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
@ -88,14 +88,19 @@ else
alias micromamba="$MAMBA_EXE" # Fallback on help from mamba activate alias micromamba="$MAMBA_EXE" # Fallback on help from mamba activate
fi fi
unset __mamba_setup unset __mamba_setup
# <<< mamba initialize <<< fi
# starship config # starship config
if command -v starship &> /dev/null; then
eval "$(starship init zsh)" eval "$(starship init zsh)"
fi
# fnm config # fnm config
if command -v fnm &> /dev/null; then
eval "$(fnm env --use-on-cd)" eval "$(fnm env --use-on-cd)"
fi
# thefuck config # thefuck config
fuck() { fuck() {
@ -115,10 +120,14 @@ function ya() {
} }
# atuin config # atuin config
if command -v atuin &> /dev/null; then
eval "$(atuin init zsh)" eval "$(atuin init zsh)"
fi
# zoxide config # zoxide config
if command -v zoxide &> /dev/null; then
eval "$(zoxide init zsh)" eval "$(zoxide init zsh)"
fi
# nix config # nix config
if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer if [ -e $HOME/.nix-profile/etc/profile.d/nix.sh ]; then . $HOME/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer