Add thefuck alias & zsh plugin

This commit is contained in:
2024-11-08 19:51:04 -06:00
parent ae238964e7
commit d0eed5ed17
2 changed files with 5 additions and 1 deletions

View File

@@ -98,6 +98,10 @@ if ! shopt -oq posix; then
fi fi
fi fi
if command -v thefuck &> /dev/null; then
eval $(thefuck --alias)
fi
{{/* Common shared aliases, scripts, & shell setup details. */ -}} {{/* Common shared aliases, scripts, & shell setup details. */ -}}
{{ template "scripts/commonrc.sh.tmpl" dict "data" . "shell" "bash" }} {{ template "scripts/commonrc.sh.tmpl" dict "data" . "shell" "bash" }}

View File

@@ -24,7 +24,7 @@ DISABLE_AUTO_UPDATE="true" # required for chezmoi external management
# DISABLE_UNTRACKED_FILES_DIRTY="true" # DISABLE_UNTRACKED_FILES_DIRTY="true"
# HIST_STAMPS="mm/dd/yyyy" # HIST_STAMPS="mm/dd/yyyy"
plugins=(git asdf yarn golang sudo zoxide bun node npm brew zsh-autosuggestions F-Sy-H) plugins=(git asdf yarn golang sudo zoxide bun node npm brew zsh-autosuggestions F-Sy-H thefuck)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # configure with `p10k configure` [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # configure with `p10k configure`