aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Tay <nkt@outlook.kr>2021-04-10 10:13:34 +1000
committerNicholas Tay <nkt@outlook.kr>2021-04-10 10:13:34 +1000
commitc3c002d0913b9be2e56173e073b39041181bf660 (patch)
tree0ad6dee1d1b5c9c2a5998bf24d4648071c956df3
parentf5f449434400933fe99d8dee07cee9571c787316 (diff)
downloaddotlite-c3c002d0913b9be2e56173e073b39041181bf660.tar.gz
dotlite-c3c002d0913b9be2e56173e073b39041181bf660.tar.bz2
dotlite-c3c002d0913b9be2e56173e073b39041181bf660.zip
Add mac, i3 config shortcut
-rw-r--r--.config/aliasrc9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/aliasrc b/.config/aliasrc
index 822d6d5..1da43c6 100644
--- a/.config/aliasrc
+++ b/.config/aliasrc
@@ -48,6 +48,14 @@ alias dR="sudo dnf remove"
alias dU="sudo dnf upgrade"
alias dQ="rpm -qa"
+# macOS
+alias bI="brew install"
+alias bIc="brew install --cask"
+alias bR="brew uninstall"
+alias bU="brew upgrade"
+alias bQ="brew list"
+alias bQc="brew list --cask"
+
# Utility functions
# Fuzzy find file + open in editor
vf() { fzf | xargs -r -I % $EDITOR % ;}
@@ -59,3 +67,4 @@ alias cfp="$EDITOR $HOME/.profile"
alias cfv="$EDITOR $HOME/.config/nvim/init.vim"
alias cfa="$EDITOR $HOME/.config/aliasrc"
alias cfg="$EDITOR $HOME/.config/git/config"
+alias cfi="$EDITOR $HOME/.config/i3/config"