diff --git a/home/dot_bashrc.tmpl b/home/dot_bashrc.tmpl index b3560cc..222b9f0 100644 --- a/home/dot_bashrc.tmpl +++ b/home/dot_bashrc.tmpl @@ -98,6 +98,10 @@ if ! shopt -oq posix; then fi fi +if command -v thefuck &> /dev/null; then + eval $(thefuck --alias) +fi + {{/* Common shared aliases, scripts, & shell setup details. */ -}} {{ template "scripts/commonrc.sh.tmpl" dict "data" . "shell" "bash" }} diff --git a/home/dot_zshrc.tmpl b/home/dot_zshrc.tmpl index 085ed9a..2ebcb38 100644 --- a/home/dot_zshrc.tmpl +++ b/home/dot_zshrc.tmpl @@ -24,7 +24,7 @@ DISABLE_AUTO_UPDATE="true" # required for chezmoi external management # DISABLE_UNTRACKED_FILES_DIRTY="true" # 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 [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh # configure with `p10k configure`