From 6f403dc721b024f4b44d07296589b45538494761 Mon Sep 17 00:00:00 2001 From: Coby Powers Date: Mon, 6 Jun 2022 12:55:09 -0500 Subject: [PATCH] Add aliases & cleanup git files --- scripts/update.sh | 1 + sh/custom/aliases.sh | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/scripts/update.sh b/scripts/update.sh index 673cc52..2894f27 100644 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -3,3 +3,4 @@ git reset --hard git pull git submodule update --init --recursive +git clean -fd --force diff --git a/sh/custom/aliases.sh b/sh/custom/aliases.sh index 31118b5..9786355 100755 --- a/sh/custom/aliases.sh +++ b/sh/custom/aliases.sh @@ -19,12 +19,17 @@ alias rd='rm -rf' alias q='exit' +alias c='clear' + +alias journal='journalctl -xe' +alias journal-err='journalctl -p 3 -b' + alias upd-arch='paru -S archlinux-keyring && paru' alias upd-ubt='sudo apt update -y && sudo apt upgrade -y' if [[ "$OS" == "Arch Linux" ]]; then alias upd='upd-arch' -elif [[ $OS == *"Ubuntu"* ]]; then +elif [[ $OS == "Ubuntu" ]]; then alias upd='upd-ubt' else alias upd='echo Failed to detect distribution'