summaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc21
1 files changed, 0 insertions, 21 deletions
diff --git a/bashrc b/bashrc
index fcf0991..cae83f0 100644
--- a/bashrc
+++ b/bashrc
@@ -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)"