.prompt L10n

Signed-off-by: Moxie "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2022-08-29 15:19:07 -04:00
parent c352cfe48e
commit b377626b35
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
2 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,8 @@
[ -r ~/.devspec ] && . ~/.devspec
[ -r ~/.config/isotope.dark ] && . ~/.config/isotope.dark
[ -z "$EDITOR" ] && . ~/.profile
# History stuff
export HISTCONTROL=ignoredups:erasedups
export HISTFILESIZE=1000
@ -24,8 +26,10 @@ alias ga='git add'
alias gc='git commit -sS'
alias gp='git push'
alias wv='mpv $($PASTE_COMMAND)'
alias lc='fc -nl $HISTCMD'
alias lc='fc -nl $HISTCMD | xargs'
alias curl='curl -L'
alias prof='profanity'
alias playcd='mpv --start=00:00:00.0000000 av://libcdio:/dev/cdrom --cache=yes'
# Completions for elevation program (https://codeberg.org/Bowuigi/Unit21 in management/boas)
complete -cf boas

View File

@ -132,7 +132,9 @@ __prompt() {
# Remove decimal point, simulating multiplying by 1 million
PROMPT_RT1M="${PROMPT_RT/.}"
PROMPT_RT1M="${PROMPT_RT/,}"
LAST_RT1M="${LAST_RT/.}"
LAST_RT1M="${LAST_RT/,}"
((CMD_US=PROMPT_RT1M-LAST_RT1M))