From 4f496661981dd455c53e1bb064b2fde84ed9c047 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Thu, 17 Oct 2024 09:29:41 +0300 Subject: [PATCH] Disable thefuck alias --- home/.config/zsh/03-plugins.zsh | 5 ----- home/.config/zsh/04-aliases.zsh | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/home/.config/zsh/03-plugins.zsh b/home/.config/zsh/03-plugins.zsh index 71655894..1a482711 100644 --- a/home/.config/zsh/03-plugins.zsh +++ b/home/.config/zsh/03-plugins.zsh @@ -46,11 +46,6 @@ source /usr/share/fzf/key-bindings.zsh source /usr/share/fzf/completion.zsh {%@@ endif @@%} -{%@@ if distro_id != "termux" @@%} -# enable https://github.com/nvbn/thefuck -eval $(TF_SHELL=zsh thefuck --alias) -{%@@ endif @@%} - # Generate completions at runtime zinit ice wait'2' lucid zinit light RobSis/zsh-completion-generator diff --git a/home/.config/zsh/04-aliases.zsh b/home/.config/zsh/04-aliases.zsh index ad1a5586..34b2d886 100644 --- a/home/.config/zsh/04-aliases.zsh +++ b/home/.config/zsh/04-aliases.zsh @@ -203,7 +203,7 @@ update() { {%@@ elif distro_id == "termux" @@%} pkg update && pkg upgrade --yes {%@@ endif @@%} - {%@@ if distro_id == "termux" or distro_id == "ubuntu" or distro_id == "debian" @@%} + {%@@ if distro_id == "termux" @@%} pip-update-installed cargo-update-installed {%@@ endif @@%}