summaryrefslogtreecommitdiff
path: root/.config/shells/aliasrc
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@simplelittledream.com>2022-12-29 17:14:17 -0500
committerJacob McDonnell <jacob@simplelittledream.com>2022-12-29 17:14:17 -0500
commit96acacfcd8e09b4f8ccda383784176158c4092e8 (patch)
treef6d3b4ba78c7b170db858225d358edd7e1cdbceb /.config/shells/aliasrc
parenta167f0a5de32d822f20955358315431d2edf6f7e (diff)
parentb8e7516073e407e7c1206f207e0bbcb164152f53 (diff)
Merge branch 'macOS' of github.com:JacobMcDonnell/dotfiles into macOS
Diffstat (limited to '.config/shells/aliasrc')
-rwxr-xr-x.config/shells/aliasrc10
1 files changed, 10 insertions, 0 deletions
diff --git a/.config/shells/aliasrc b/.config/shells/aliasrc
index 6fd6fb7..df92604 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,8 @@ alias \
zshup="source $HOME/.config/shells/zsh/.zshrc" \
gc="git clone" \
gu="git add -u" \
+ ga="git commit -a" \
+ gp="git push" \
m="micro" \
v="nvim" \
python="python3.10" \