diff options
author | Ryan Kavanagh <rak@rak.ac> | 2023-12-28 21:55:43 -0500 |
---|---|---|
committer | Ryan Kavanagh <rak@rak.ac> | 2023-12-28 21:55:43 -0500 |
commit | 4aa845d281562ea568977f46b0f8434635f90f2d (patch) | |
tree | 6dd202afa2654f704b0a5af0f892fa44ae1af85a /dot_config | |
parent | Update sway config (diff) |
portability
Diffstat (limited to 'dot_config')
-rw-r--r-- | dot_config/sh/10_aliases | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dot_config/sh/10_aliases b/dot_config/sh/10_aliases index f96d5d7..36bac36 100644 --- a/dot_config/sh/10_aliases +++ b/dot_config/sh/10_aliases @@ -27,7 +27,7 @@ alias llocate="locate -d ${XDG_STATE_HOME}/plocate/home.db" # deleting files. # Furthermore, be verbose about what each command is performing to be present of # what is occuring every time. -if [[ `uname` = "Linux" ]]; then +if test `uname` = "Linux"; then alias cp="cp -iv" alias mkdir="mkdir -v" alias mv="mv -iv" @@ -42,7 +42,7 @@ if [[ `uname` = "Linux" ]]; then alias chmod="chmod -v" alias ls="ls --classify --color=always" # Add all colours and # have fancy symbols for files, etc. -elif [[ `uname` = "OpenBSD" && -x /usr/local/bin/colorls ]]; then +elif test `uname` = "OpenBSD" && test -x /usr/local/bin/colorls; then alias ls="colorls -G" fi |