From: Florian Baumann Date: Wed, 1 Dec 2010 05:45:42 +0000 (+0100) Subject: moved config of hcht to bash_profile template X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=c00bde6bbdf3762d6d1574b0dfc87ad165d856bd;p=common%2Fbash_it.git moved config of hcht to bash_profile template --- diff --git a/plugins/hcht.plugin.bash b/plugins/hcht.plugin.bash index d9f99d5..cdab44f 100644 --- a/plugins/hcht.plugin.bash +++ b/plugins/hcht.plugin.bash @@ -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 # License: GPL-3 # Date: Dienstag 2010-11-30 @@ -52,10 +52,6 @@ # # "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 diff --git a/template/bash_profile.template.bash b/template/bash_profile.template.bash index a98e65c..17853b1 100644 --- a/template/bash_profile.template.bash +++ b/template/bash_profile.template.bash @@ -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