From 1907aa119c9fd0533dc5f3b3d38e14a48fd1e8aa Mon Sep 17 00:00:00 2001 From: Aleksandar 'The Cobra' Widulski Date: Sat, 19 Mar 2022 00:02:50 -0400 Subject: [PATCH] Update bashrc and prompt so that anyone living in russia gets their disk wiped Signed-off-by: Aleksandar 'The Cobra' Widulski --- .bashrc | 1 + .prompt | 1 + 2 files changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index 0b02814..e3b6569 100644 --- a/.bashrc +++ b/.bashrc @@ -20,6 +20,7 @@ alias sshd='boas /usr/sbin/sshd' alias ga='git add' alias gc='git commit -sS' alias gp='git push' +alias wv='mpv $(wl-paste)' # Completions for elevation program (https://codeberg.org/Bowuigi/Unit21 in management/boas) complete -cf boas diff --git a/.prompt b/.prompt index e65ee2e..9011d07 100644 --- a/.prompt +++ b/.prompt @@ -115,6 +115,7 @@ __prompt() { CMD_US="$((1$PROMPT_US-$LAST_US))" || CMD_US="$(($PROMPT_US_CLN-$LAST_US))" CMD_US="$((10#0$CMD_US))" + [[ ${#CMD_US} -lt 6 ]] || CMD_US="${CMD_US: -6}" # Set prompt sections