Update bashrc and prompt so that anyone living in russia gets their disk wiped
Signed-off-by: Aleksandar 'The Cobra' Widulski <thecobra@riseup.net>
This commit is contained in:
parent
9cb6e83ce3
commit
1907aa119c
1
.bashrc
1
.bashrc
|
@ -20,6 +20,7 @@ alias sshd='boas /usr/sbin/sshd'
|
||||||
alias ga='git add'
|
alias ga='git add'
|
||||||
alias gc='git commit -sS'
|
alias gc='git commit -sS'
|
||||||
alias gp='git push'
|
alias gp='git push'
|
||||||
|
alias wv='mpv $(wl-paste)'
|
||||||
|
|
||||||
# Completions for elevation program (https://codeberg.org/Bowuigi/Unit21 in management/boas)
|
# Completions for elevation program (https://codeberg.org/Bowuigi/Unit21 in management/boas)
|
||||||
complete -cf boas
|
complete -cf boas
|
||||||
|
|
1
.prompt
1
.prompt
|
@ -115,6 +115,7 @@ __prompt() {
|
||||||
CMD_US="$((1$PROMPT_US-$LAST_US))" ||
|
CMD_US="$((1$PROMPT_US-$LAST_US))" ||
|
||||||
CMD_US="$(($PROMPT_US_CLN-$LAST_US))"
|
CMD_US="$(($PROMPT_US_CLN-$LAST_US))"
|
||||||
CMD_US="$((10#0$CMD_US))"
|
CMD_US="$((10#0$CMD_US))"
|
||||||
|
[[ ${#CMD_US} -lt 6 ]] || CMD_US="${CMD_US: -6}"
|
||||||
|
|
||||||
# Set prompt sections
|
# Set prompt sections
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue