diff options
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)" |