diff options
Diffstat (limited to '.aliases')
-rw-r--r-- | .aliases | 43 |
1 files changed, 4 insertions, 39 deletions
@@ -1,5 +1,3 @@ -#!/usr/bin/env bash - alias ls='ls --color=auto' alias ll='ls --color=auto -lh' alias diff='diff --color=auto' @@ -17,43 +15,10 @@ command -v jrnl > /dev/null && alias jrnl=' jrnl' alias gmf='git diff --merge-base' alias gmfn='git diff --merge-base --name-only' -if [ -f /usr/bin/pacman ]; then - alias S='sudo pacman -S' - alias Si='pacman -Si' - alias Ss='pacman -Ss' - alias Syu='sudo pacman -Syu' - - alias R='sudo pacman -R' - alias Rs='sudo pacman -Rs' - alias Rns='sudo pacman -Rns' - - alias Q='pacman -Q' - alias Qi='pacman -Qi' - alias Qm='pacman -Qm' - alias Qs='pacman -Qs' - alias Qu='pacman -Qu' -fi - -if [ -f /usr/bin/paru ]; then - alias Sa='paru -Sa' - alias Sia='paru -Sia' - alias Ssa='paru -Ssa' - alias Syua='paru -Syua' +command -v pacman > /dev/null && source "$HOME/.arch.aliases" - alias Rsa='paru -Rsa' - alias Rnsa='paru -Rnsa' - - alias Qa='paru -Qa' - alias Qia='paru -Qia' - alias Qma='paru -Qma' - alias Qsa='paru -Qsa' - alias Qua='paru -Qua' -fi - -if command -v tig &> /dev/null; then - alias tigs='tig status' -fi - -# git alias +command -v tig &> /dev/null && alias tigs='tig status' alias g='git' + +# vim: ft=sh |