moved config of hcht to bash_profile template
authorFlorian Baumann <flo@noqqe.de>
Wed, 1 Dec 2010 05:45:42 +0000 (06:45 +0100)
committerFlorian Baumann <flo@noqqe.de>
Wed, 1 Dec 2010 05:45:42 +0000 (06:45 +0100)
plugins/hcht.plugin.bash
template/bash_profile.template.bash

index d9f99d5..cdab44f 100644 (file)
@@ -1,5 +1,5 @@
 #!/bin/bash
-# hch.plugin.bash: the handmade commandline history tool
+# hcht.plugin.bash: the handmade commandline history tool
 # Copyright: (C) 2010 Florian Baumann <flo@noqqe.de>
 # License: GPL-3 <http://www.gnu.org/licenses/gpl-3.0.txt>
 # Date: Dienstag 2010-11-30
 #
 # "anylog" will be the name of the saved file.  
 
-### configure store dir
-# like /home/user/.hcht/ or something
-hchtstoredir=""
-
 hcht() {
     # configured?
     if [ -z $hchtstoredir ]; then
index a98e65c..17853b1 100644 (file)
@@ -47,5 +47,8 @@ export IRC_CLIENT='irssi'
 
 export TODO="t"
 
+# Set store directory for handmade commandline history tool 
+export hchtstoredir="$HOME/.hcht"
+
 # Load Bash It
 source $BASH/bash_it.sh