diff options
author | Guangxiong Lin <[email protected]> | 2023-11-15 08:58:19 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-11-15 08:58:19 +0800 |
commit | 016c96d8af4c944fb2b9fc0c673f5130472a7977 (patch) | |
tree | b8410f3cea2780043d66a67a8b1e173930488bed /.aliases | |
parent | 55c2d8e73db4e9e93cddcb981c15fb8fe9b1dcf4 (diff) | |
download | dotfiles-016c96d8af4c944fb2b9fc0c673f5130472a7977.tar.gz dotfiles-016c96d8af4c944fb2b9fc0c673f5130472a7977.tar.bz2 dotfiles-016c96d8af4c944fb2b9fc0c673f5130472a7977.zip |
Update aliases and add fisher
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 |