summaryrefslogtreecommitdiff
path: root/sh/aliases
diff options
context:
space:
mode:
authorzachir <zachir@librem.one>2025-08-22 15:07:48 -0500
committerzachir <zachir@librem.one>2025-08-22 15:07:48 -0500
commit039d5db6ae70f294916cc635cb1273c385faeedb (patch)
tree9866bfbcb911fe21df08e41e4f3f0c5b9141a3f2 /sh/aliases
parent7d54dd4c6ab4b0edd5bd6733e9106b69f30aea5b (diff)
parent9096926608099642e3053d7337a90e855eb7ce9f (diff)
Merge branch 'master' into cla
Diffstat (limited to 'sh/aliases')
-rw-r--r--sh/aliases6
1 files changed, 3 insertions, 3 deletions
diff --git a/sh/aliases b/sh/aliases
index 93784e7..2e7ecf5 100644
--- a/sh/aliases
+++ b/sh/aliases
@@ -19,10 +19,10 @@ case `uname -s` in
;;
"Linux")
#alias ls="ls -h $COLOR_FLAGS_GNU"
- alias ls="eza"
+ type eza >/dev/null && alias ls="eza"
;;
"Darwin")
- alias ls="eza --color"
+ type eza >/dev/null && alias ls="eza --color"
;;
esac
alias ll='ls -l'
@@ -44,7 +44,7 @@ case `uname -s` in
alias rm='rm -i'
;;
"Linux")
- alias rm='trash-put'
+ type trash-put >/dev/null && alias rm='trash-put'
;;
esac
alias cp='cp -i'