From 3ebbe1f462b26b7bb68758c2137f0ee1b21a90af Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Wed, 9 Feb 2022 01:21:21 -0300 Subject: [PATCH] Update .zshrc_aliases --- dotfiles/.zshrc_aliases | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/.zshrc_aliases b/dotfiles/.zshrc_aliases index 14d5002..d221f0f 100644 --- a/dotfiles/.zshrc_aliases +++ b/dotfiles/.zshrc_aliases @@ -56,7 +56,7 @@ alias pampero='ssh slococo@pampero.it.itba.edu.ar' alias bd='systemctl start postgresql.service' function compile() { - if [ "$1" = "laptop" ]; then + if grep -q "i5" /proc/cpuinfo; then sudo make clean && sudo make laptop else sudo make clean && sudo make install