diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-09-19 16:21:51 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-09-19 16:21:51 +0300 |
commit | 0b3e8219974b237fdc35838154a3a39043ea37c7 (patch) | |
tree | 73a032be3122d80afde89fc3ce8ecdb55a56fa2a /bashrc | |
parent | 61179e83fc8d3a5d73bbaaaef35e3f32d2ab22b3 (diff) | |
download | liw-dot-files-0b3e8219974b237fdc35838154a3a39043ea37c7.tar.gz |
drop(bashrc): drop obsolete taskwarrior, QL setup from PS1
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 21 |
1 files changed, 0 insertions, 21 deletions
@@ -50,24 +50,6 @@ termattr() # Collect info to show in $PS1 -taskwarrior_context() -{ - if command -v task > /dev/null && [ -e "$HOME/.task" ] - then - task context list | awk '$NF == "yes" { print $1 }' - fi -} - - -# Context for git and Debian packging: QvarnLabs? -QL() -{ - case "$DEBEMAIL" in - *@qvarnlabs.com) printf "[QL:$OS_PROJECT_SHORTNAME] " ;; - esac -} - - find_git_root() { ( @@ -147,9 +129,6 @@ wrap_if_nonempty() define_ps1() { - wrap_if_nonempty "$(taskwarrior_context)" "$(termattr red)" "$(termattr normal) " - wrap_if_nonempty "$(QL)" "$(termattr bold red)" "$(termattr normal)" - termattr bold blue date +%H:%M | tr -d '\n' local hostname="$(hostname)" |