Disable atuff that doesn't work in termux

This commit is contained in:
Marko Korhonen 2023-05-09 08:58:21 +03:00
parent 4b0cafdc04
commit 55a9462ad0
2 changed files with 4 additions and 0 deletions

View file

@ -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 @@%}

View file

@ -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() {