b183c1d51530

Fixes #7: Count on bash prompt does not work properly.
[view raw] [browse files]
author Alexar <github@alexar.me>
date Mon, 01 Jan 2018 10:37:56 +1100
parents 655800c5080d
children a372e4e37c2c b3ab82ada837 83fe4c7e8702
branches/tags (none)
files README.markdown

Changes

--- a/README.markdown	Tue Nov 08 16:02:47 2016 +0000
+++ b/README.markdown	Mon Jan 01 10:37:56 2018 +1100
@@ -173,7 +173,7 @@
 
 Want a count of your tasks right in your prompt?  Edit your `~/.bashrc` file:
 
-    export PS1="[$(t | wc -l | sed -e's/ *//')] $PS1"
+    export PS1='[$(t | wc -l | sed -e"s/ *//")]'" $PS1"
 
 Now you've got a prompt that looks something like this: