Small correction for MacOS
This commit is contained in:
@@ -4,17 +4,18 @@
|
||||
source ~/dotfiles/scripts/color.sh
|
||||
|
||||
d() {
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
echo 3
|
||||
else
|
||||
if [ "$(grep -Ei 'debian|buntu|mint' /etc/*release)" ]; then
|
||||
echo 1
|
||||
elif [ "$(grep -Ei 'arch|manjaro|artix' /etc/*release)" ]; then
|
||||
echo 2
|
||||
else
|
||||
if [ "$(uname -s)" = "Darwin" ]; then
|
||||
echo 3
|
||||
else
|
||||
echo 0
|
||||
fi
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
m() {
|
||||
|
||||
Reference in New Issue
Block a user