diff --git a/.bashrc b/.bashrc index 4ebbfa3..d51a7ee 100644 --- a/.bashrc +++ b/.bashrc @@ -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 diff --git a/.prompt b/.prompt index 5b68b21..055899e 100644 --- a/.prompt +++ b/.prompt @@ -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))