Disable atuff that doesn't work in termux
This commit is contained in:
parent
4b0cafdc04
commit
55a9462ad0
2 changed files with 4 additions and 0 deletions
|
@ -47,5 +47,7 @@ source /usr/share/fzf/key-bindings.zsh
|
||||||
source /usr/share/fzf/completion.zsh
|
source /usr/share/fzf/completion.zsh
|
||||||
{%@@ endif @@%}
|
{%@@ endif @@%}
|
||||||
|
|
||||||
|
{%@@ if distro_id != "termux" @@%}
|
||||||
# enable https://github.com/nvbn/thefuck
|
# enable https://github.com/nvbn/thefuck
|
||||||
eval $(TF_SHELL=zsh thefuck --alias)
|
eval $(TF_SHELL=zsh thefuck --alias)
|
||||||
|
{%@@ endif @@%}
|
||||||
|
|
|
@ -112,8 +112,10 @@ alias jcu='journalctl --user'
|
||||||
# switch to desktop mode
|
# switch to desktop mode
|
||||||
alias dock='swaymsg output eDP-1 disable'
|
alias dock='swaymsg output eDP-1 disable'
|
||||||
|
|
||||||
|
{%@@ if distro_id != "termux" @@%}
|
||||||
# move to trash instead of remove
|
# move to trash instead of remove
|
||||||
alias rm='trash'
|
alias rm='trash'
|
||||||
|
{%@@ endif @@%}
|
||||||
|
|
||||||
# clean stuff
|
# clean stuff
|
||||||
clean() {
|
clean() {
|
||||||
|
|
Loading…
Reference in a new issue