From cbe9d54a1c7af3c2d0af3e86d6ba05c2e857fa64 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Thu, 29 Dec 2022 17:11:23 -0500 Subject: Fixed some aliases for Linux --- .config/shells/aliasrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.config/shells/aliasrc') diff --git a/.config/shells/aliasrc b/.config/shells/aliasrc index 6fd6fb7..3124537 100755 --- a/.config/shells/aliasrc +++ b/.config/shells/aliasrc @@ -7,6 +7,14 @@ then la="ls -Ah" \ ls="ls -h" \ l="ls -lAh" +# Linux has --color +elif [[ "$(uname -s)" == "Linux" ]] +then + alias \ + la="ls -Ah --color" \ + ls="ls -h --color" \ + l="ls -lAh --color" +# macOS has -G else alias \ la="ls -AhG" \ @@ -27,6 +35,7 @@ alias \ zshup="source $HOME/.config/shells/zsh/.zshrc" \ gc="git clone" \ gu="git add -u" \ + ga="git commit -a" \ m="micro" \ v="nvim" \ python="python3.10" \ -- cgit v1.2.3 From b8e7516073e407e7c1206f207e0bbcb164152f53 Mon Sep 17 00:00:00 2001 From: Jacob McDonnell Date: Thu, 29 Dec 2022 17:12:08 -0500 Subject: Forgot one --- .config/shells/aliasrc | 1 + 1 file changed, 1 insertion(+) (limited to '.config/shells/aliasrc') diff --git a/.config/shells/aliasrc b/.config/shells/aliasrc index 3124537..df92604 100755 --- a/.config/shells/aliasrc +++ b/.config/shells/aliasrc @@ -36,6 +36,7 @@ alias \ gc="git clone" \ gu="git add -u" \ ga="git commit -a" \ + gp="git push" \ m="micro" \ v="nvim" \ python="python3.10" \ -- cgit v1.2.3