diff --git a/home/.config/zsh/03-plugins.zsh b/home/.config/zsh/03-plugins.zsh index 7377af6..0aae9f4 100644 --- a/home/.config/zsh/03-plugins.zsh +++ b/home/.config/zsh/03-plugins.zsh @@ -47,5 +47,7 @@ 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 @@%} diff --git a/home/.config/zsh/04-aliases.zsh b/home/.config/zsh/04-aliases.zsh index e59ad83..16d4dfe 100644 --- a/home/.config/zsh/04-aliases.zsh +++ b/home/.config/zsh/04-aliases.zsh @@ -112,8 +112,10 @@ alias jcu='journalctl --user' # switch to desktop mode alias dock='swaymsg output eDP-1 disable' +{%@@ if distro_id != "termux" @@%} # move to trash instead of remove alias rm='trash' +{%@@ endif @@%} # clean stuff clean() {