From e0d8582c0b3ba1f551ff7c60d4363a2fe2f6b428 Mon Sep 17 00:00:00 2001 From: Andy Shen Date: Sat, 4 Dec 2010 11:03:33 +1100 Subject: [PATCH 01/17] ssh completion using .ssh/config --- completion/ssh.completion.bash | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 completion/ssh.completion.bash diff --git a/completion/ssh.completion.bash b/completion/ssh.completion.bash new file mode 100644 index 00000000..76913330 --- /dev/null +++ b/completion/ssh.completion.bash @@ -0,0 +1,13 @@ +#!/bin/bash +# Bash completion support for ssh. + +export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} + +_sshcomplete() { + if [ -f $HOME/.ssh/config ]; then + COMPREPLY=($(compgen -W "`ruby -e"puts open('${HOME}/.ssh/config', 'r') { |f| f.readlines }.find_all { |l| l =~ /^Host/ }.inject([]) { |hosts, line| hosts << line[5..-1].split }.flatten.sort.uniq"`" -- ${COMP_WORDS[COMP_CWORD]})) + return 0 + fi +} + +complete -o default -o nospace -F _sshcomplete ssh From 57fc307e11137021a537088854a915e093ae15d4 Mon Sep 17 00:00:00 2001 From: Andy Shen Date: Sat, 4 Dec 2010 11:06:40 +1100 Subject: [PATCH 02/17] update credit --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8b8994ef..e305eb8d 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ If you are submitting a pull request, please add your name to the list. * [Simon H. Eskildsen][sirupsen] * [Mark Szymanski][mrman208] * [Florian Baumann][noqqe] +* [Andy Shen][shenie] [revans]: http://github.com/revans [zerobearing2]: http://github.com/zerobearing2 @@ -62,4 +63,5 @@ If you are submitting a pull request, please add your name to the list. [sirupsen]: http://github.com/sirupsen [mrman208]: http://github.com/mrman208 [noqqe]: http://github.com/noqqe +[shenie]: http://github.com/shenie From 4476156eb82ef1ec746bc7789f7aab47f5593828 Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sat, 4 Dec 2010 12:22:32 -0600 Subject: [PATCH 03/17] Added test to see if in vim's shell (via the :sh command) --- themes/minimal/minimal.theme.bash | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/themes/minimal/minimal.theme.bash b/themes/minimal/minimal.theme.bash index 2f9b926e..a94c4536 100644 --- a/themes/minimal/minimal.theme.bash +++ b/themes/minimal/minimal.theme.bash @@ -1,8 +1,18 @@ prompt_setter() { if [[ $? -eq 0 ]]; then - PS1="\W " + if [ ! $VIMRUNTIME = "" ] + then + PS1="{vim} \W " + else + PS1="\W " + fi else - PS1="${bold_red}\W ${normal}" + if [ ! $VIMRUNTIME = "" ] + then + PS1="{vim} ${bold_red}\W ${normal}" + else + PS1="${bold_red}\W ${normal}" + fi fi } From 8a3d525460da73b57fb9edfb82f32e35af767047 Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 5 Dec 2010 15:40:46 -0600 Subject: [PATCH 04/17] Added modern theme --- themes/modern/modern.theme.bash | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 themes/modern/modern.theme.bash diff --git a/themes/modern/modern.theme.bash b/themes/modern/modern.theme.bash new file mode 100644 index 00000000..85bcfe09 --- /dev/null +++ b/themes/modern/modern.theme.bash @@ -0,0 +1,27 @@ +SCM_THEME_PROMPT_PREFIX="" +SCM_THEME_PROMPT_SUFFIX="" + +modern_scm_prompt() { + CHAR=$(scm_char) + if [ $CHAR = $SCM_NONE_CHAR ] + then + return + else + echo "[$(scm_char)][$(scm_prompt_info)]" + fi +} + +prompt() { + if [ $? -ne 0 ] + then + PS1="${bold_red}┌─${reset_color}$(modern_scm_prompt)[\W] +${bold_red}└─▪${normal} " + else + PS1="┌─$(modern_scm_prompt)[\W] +└─▪ " + fi +} + + + +PROMPT_COMMAND=prompt From e5536385777f1f18960a8d89868214521ceaef83 Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 5 Dec 2010 15:49:51 -0600 Subject: [PATCH 05/17] Added colors to 'modern' theme --- themes/modern/modern.theme.bash | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/themes/modern/modern.theme.bash b/themes/modern/modern.theme.bash index 85bcfe09..8ba87156 100644 --- a/themes/modern/modern.theme.bash +++ b/themes/modern/modern.theme.bash @@ -1,6 +1,12 @@ SCM_THEME_PROMPT_PREFIX="" SCM_THEME_PROMPT_SUFFIX="" +SCM_THEME_PROMPT_DIRTY=' ${bold_red}✗${normal}' +SCM_THEME_PROMPT_CLEAN=' ${bold_green}✓${normal}' +SCM_GIT_CHAR='${bold_green}±${normal}' +SCM_SVN_CHAR='${bold_cyan}⑆${normal}' +SCM_HG_CHAR='${bold_red}☿${normal}' + modern_scm_prompt() { CHAR=$(scm_char) if [ $CHAR = $SCM_NONE_CHAR ] From 0a67e549cbdc5877c5f0ca39b7cde1e7f1f5447e Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 5 Dec 2010 16:03:33 -0600 Subject: [PATCH 06/17] Added more colors to 'modern' theme --- themes/modern/modern.theme.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/modern/modern.theme.bash b/themes/modern/modern.theme.bash index 8ba87156..2d0948ff 100644 --- a/themes/modern/modern.theme.bash +++ b/themes/modern/modern.theme.bash @@ -20,10 +20,10 @@ modern_scm_prompt() { prompt() { if [ $? -ne 0 ] then - PS1="${bold_red}┌─${reset_color}$(modern_scm_prompt)[\W] + PS1="${bold_red}┌─${reset_color}$(modern_scm_prompt)[${cyan}\W${normal}] ${bold_red}└─▪${normal} " else - PS1="┌─$(modern_scm_prompt)[\W] + PS1="┌─$(modern_scm_prompt)[${cyan}\W${normal}] └─▪ " fi } From ad996f0a9313ba58014840eda3d4c8b74ae47f90 Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 5 Dec 2010 16:49:45 -0600 Subject: [PATCH 07/17] Added 'ref' plugin --- plugins/ref.plugin.bash | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 plugins/ref.plugin.bash diff --git a/plugins/ref.plugin.bash b/plugins/ref.plugin.bash new file mode 100644 index 00000000..0c93d706 --- /dev/null +++ b/plugins/ref.plugin.bash @@ -0,0 +1,36 @@ +ref() { + if [ ! -d "$REF_DIR" ] + then + mkdir -p "$REF_DIR" + fi + + REF_DIR=${REF_DIR%/} + + if [ "$1" = 'ls' ] + then + if [ "$2" = '' ] + then + builtin cd "$REF_DIR" + ls -G + builtin cd - > /dev/null + return + else + builtin cd "$REF_DIR"/"$2" + ls -G + builtin cd - > /dev/null + return + fi + fi + + DIR="${1}/${2}" + + builtin cd "$REF_DIR"/"$DIR" + + if [ $(uname) = "Darwin" ] + then + open index.html + elif [ $(uname) = "Linux" ] + then + gnome-open index.html + fi +} From 9448e355cabf4bbcc4d7aca4f54dfb76b3bf915a Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 5 Dec 2010 16:49:58 -0600 Subject: [PATCH 08/17] Added REF_DIR variable for the ref plugin --- template/bash_profile.template.bash | 3 +++ 1 file changed, 3 insertions(+) diff --git a/template/bash_profile.template.bash b/template/bash_profile.template.bash index 17853b1a..441e06ba 100644 --- a/template/bash_profile.template.bash +++ b/template/bash_profile.template.bash @@ -50,5 +50,8 @@ export TODO="t" # Set store directory for handmade commandline history tool export hchtstoredir="$HOME/.hcht" +# Set this to the directory to use for the ref plugin +export REF_DIR="$HOME/.ref/" + # Load Bash It source $BASH/bash_it.sh From 493bdb9456bd4ee375e5c9ce6bbd7317ed1a319d Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 5 Dec 2010 17:01:19 -0600 Subject: [PATCH 09/17] Added documentation for ref plugin --- plugins/ref.plugin.bash | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/plugins/ref.plugin.bash b/plugins/ref.plugin.bash index 0c93d706..d5888db8 100644 --- a/plugins/ref.plugin.bash +++ b/plugins/ref.plugin.bash @@ -1,3 +1,27 @@ +##################################################################################################################################################################### +# README # +# ------ # +# # +# ref is a plugin for storing HTML formatted references, mainly suited for programming. # +# Your $REF_DIR variable is the directory for storing these references in. If it does not exist, it will be created automatically. # +# Here is an example of what my $REF_DIR looks like, because this will be of use when I explain how your $REF_DIR has to be structured: # +# # +# ~/.ref/ # +# ruby/ # +# general/ # +# index.html # +# bash/ # +# array/ # +# index.html # +# select/ # +# index.html # +# # +# This is what the basic structure of your $REF_DIR should look like: Subdirectories for each subject, and then another set of subdirectories for the part of the # +# subject you want to reference. And in the second subdirectory, an index.html file. # +# # +# I hope that you like this plugin and if you have any questions about it, send me (mrman208) a message on GitHub or email me at mrman208@me.com # +##################################################################################################################################################################### + ref() { if [ ! -d "$REF_DIR" ] then From 862c6438f4659c3755c0a4d64f17e0e15d129cae Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 5 Dec 2010 17:06:04 -0600 Subject: [PATCH 10/17] Improved ref documentation --- plugins/ref.plugin.bash | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/plugins/ref.plugin.bash b/plugins/ref.plugin.bash index d5888db8..34f744c0 100644 --- a/plugins/ref.plugin.bash +++ b/plugins/ref.plugin.bash @@ -18,6 +18,29 @@ # # # This is what the basic structure of your $REF_DIR should look like: Subdirectories for each subject, and then another set of subdirectories for the part of the # # subject you want to reference. And in the second subdirectory, an index.html file. # +# +# To use ref, you do the ref command followed by the sugject and the sub-subject as arguments. For instance: +# +# ref bash array +# +# Would open the bash/array/index.html file. +# +# To list your references, you would do the ref ls command, optionally followed by a subject. For instance: +# +# ref ls +# +# Would give me: +# +# ruby bash +# +# And: +# +# ref ls bash +# +# would output: +# +# array +# select # # # I hope that you like this plugin and if you have any questions about it, send me (mrman208) a message on GitHub or email me at mrman208@me.com # ##################################################################################################################################################################### From db8d567b14fff4670727573cf7ce7d658bd179a0 Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 5 Dec 2010 17:08:33 -0600 Subject: [PATCH 11/17] Formatting fixes --- plugins/ref.plugin.bash | 42 ++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/plugins/ref.plugin.bash b/plugins/ref.plugin.bash index 34f744c0..4f9ce26c 100644 --- a/plugins/ref.plugin.bash +++ b/plugins/ref.plugin.bash @@ -1,23 +1,23 @@ ##################################################################################################################################################################### -# README # -# ------ # -# # -# ref is a plugin for storing HTML formatted references, mainly suited for programming. # -# Your $REF_DIR variable is the directory for storing these references in. If it does not exist, it will be created automatically. # -# Here is an example of what my $REF_DIR looks like, because this will be of use when I explain how your $REF_DIR has to be structured: # -# # -# ~/.ref/ # -# ruby/ # -# general/ # -# index.html # -# bash/ # -# array/ # -# index.html # -# select/ # -# index.html # -# # -# This is what the basic structure of your $REF_DIR should look like: Subdirectories for each subject, and then another set of subdirectories for the part of the # -# subject you want to reference. And in the second subdirectory, an index.html file. # +# README +# ------ +# +# ref is a plugin for storing HTML formatted references, mainly suited for programming. +# Your $REF_DIR variable is the directory for storing these references in. If it does not exist, it will be created automatically. +# Here is an example of what my $REF_DIR looks like, because this will be of use when I explain how your $REF_DIR has to be structured: +# +# ~/.ref/ +# ruby/ +# general/ +# index.html +# bash/ +# array/ +# index.html +# select/ +# index.html +# +# This is what the basic structure of your $REF_DIR should look like: Subdirectories for each subject, and then another set of subdirectories for the part of the +# subject you want to reference. And in the second subdirectory, an index.html file. # # To use ref, you do the ref command followed by the sugject and the sub-subject as arguments. For instance: # @@ -41,8 +41,8 @@ # # array # select -# # -# I hope that you like this plugin and if you have any questions about it, send me (mrman208) a message on GitHub or email me at mrman208@me.com # +# +# I hope that you like this plugin and if you have any questions about it, send me (mrman208) a message on GitHub or email me at mrman208@me.com ##################################################################################################################################################################### ref() { From 145886305cd24fc61f32a8e4ea583eddf8cbbdac Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 5 Dec 2010 20:50:57 -0600 Subject: [PATCH 12/17] Added 'new' command for ref. --- plugins/ref.plugin.bash | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/plugins/ref.plugin.bash b/plugins/ref.plugin.bash index 4f9ce26c..ed6329a2 100644 --- a/plugins/ref.plugin.bash +++ b/plugins/ref.plugin.bash @@ -41,8 +41,6 @@ # # array # select -# -# I hope that you like this plugin and if you have any questions about it, send me (mrman208) a message on GitHub or email me at mrman208@me.com ##################################################################################################################################################################### ref() { @@ -53,20 +51,26 @@ ref() { REF_DIR=${REF_DIR%/} + builtin cd $REF_DIR + if [ "$1" = 'ls' ] then if [ "$2" = '' ] then - builtin cd "$REF_DIR" ls -G builtin cd - > /dev/null return else - builtin cd "$REF_DIR"/"$2" ls -G builtin cd - > /dev/null return fi + elif [ "$1" = 'new' ] + then + mkdir -p "$2"/"$3" + echo You can now put the index.html file into "$REF_DIR"/"$2"/"$3" + builtin cd - > /dev/null + return fi DIR="${1}/${2}" From c82285539b031516cef21b1c01722a223e475524 Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 5 Dec 2010 21:12:45 -0600 Subject: [PATCH 13/17] Added better documentation for ref --- bash_it.sh | 1 + plugins/ref.plugin.bash | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/bash_it.sh b/bash_it.sh index f0c850c2..fef85847 100644 --- a/bash_it.sh +++ b/bash_it.sh @@ -69,5 +69,6 @@ function bash-it() { echo " todo-help This will list out all the aliases you can use with todo.txt-cli" echo " aliases-help Generic list of aliases." echo " plugins-help This will list out all the plugins and functions you can use with bash-it" + echo " ref-help Get help for the ref plugin." echo } diff --git a/plugins/ref.plugin.bash b/plugins/ref.plugin.bash index ed6329a2..1c4deb0b 100644 --- a/plugins/ref.plugin.bash +++ b/plugins/ref.plugin.bash @@ -85,3 +85,25 @@ ref() { gnome-open index.html fi } + +ref-help() { + echo + echo "Help for the ref plugin" + echo "-----------------------" + echo + echo "Setting up: " + echo + echo "First, set the REF_DIR variable in you ~/.bash_profile to the directory you want to store your references in." + echo "You don't even have to create this directory if you don't want to, ref will make it for you if it doesn't exist." + echo + echo "Then, you can start adding some refs. You can do so with this command: " + echo " ref new topic subtopic" + echo "Where topic is the general topic, such as ruby. And subtopic is a more exact topic, like array." + echo "This will create a directory for the topic, and a subdirectory for the subtopic. You can then move a file of your desired format into the subtopic's directory." + echo + echo "To access your ref, you would do the following command: " + echo " ref topic subtopic" + echo "Where topic and subtopic are the same as before, but ref will open the file under your topic/subtopic directory. Unless it is a full website." + echo + echo "You can also download full websites as a ref, as long as it has an index.html file, it will work." +} From 668f8e68c068e92035476c2052ff9fe9431c3336 Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Sun, 5 Dec 2010 21:15:30 -0600 Subject: [PATCH 14/17] Added PS2 to modern theme --- themes/modern/modern.theme.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/themes/modern/modern.theme.bash b/themes/modern/modern.theme.bash index 2d0948ff..f0dbccce 100644 --- a/themes/modern/modern.theme.bash +++ b/themes/modern/modern.theme.bash @@ -28,6 +28,8 @@ ${bold_red}└─▪${normal} " fi } +PS2="└─▪ " + PROMPT_COMMAND=prompt From 13edf326c450548e14673c82f75c717425d19a8b Mon Sep 17 00:00:00 2001 From: Florian Baumann Date: Mon, 6 Dec 2010 16:01:06 +0100 Subject: [PATCH 15/17] added advanced ssh completion --- completion/ssh.completion.bash | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/completion/ssh.completion.bash b/completion/ssh.completion.bash index 76913330..30fd65d6 100644 --- a/completion/ssh.completion.bash +++ b/completion/ssh.completion.bash @@ -4,10 +4,20 @@ export COMP_WORDBREAKS=${COMP_WORDBREAKS/\:/} _sshcomplete() { - if [ -f $HOME/.ssh/config ]; then - COMPREPLY=($(compgen -W "`ruby -e"puts open('${HOME}/.ssh/config', 'r') { |f| f.readlines }.find_all { |l| l =~ /^Host/ }.inject([]) { |hosts, line| hosts << line[5..-1].split }.flatten.sort.uniq"`" -- ${COMP_WORDS[COMP_CWORD]})) - return 0 + + # parse all defined hosts from .ssh/config + if [ -r $HOME/.ssh/config ]; then + COMPREPLY=($(compgen -W "$(grep ^Host $HOME/.ssh/config | awk '{print $2}' )" -- ${COMP_WORDS[COMP_CWORD]})) fi + + # parse all hosts found in .ssh/known_hosts + if [ -r $HOME/.ssh/known_hosts ]; then + if grep -v -q -e '^ ssh-rsa' $HOME/.ssh/known_hosts ; then + COMPREPLY=( $COMPREPLY $(compgen -W "$( awk '{print $1}' $HOME/.ssh/known_hosts | cut -d, -f 1 | sed -e 's/\[//g' | sed -e 's/\]//g' | cut -d: -f1 | grep -v ssh-rsa)" -- ${COMP_WORDS[COMP_CWORD]} )) + fi + fi + + return 0 } complete -o default -o nospace -F _sshcomplete ssh From afafe316b59fbf69f0feccb029f4d375d5e58d4e Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Mon, 6 Dec 2010 16:10:56 -0600 Subject: [PATCH 16/17] Removed all traces of ref because I am going to be making it into a separate project. --- bash_it.sh | 1 - plugins/ref.plugin.bash | 109 ---------------------------------------- 2 files changed, 110 deletions(-) delete mode 100644 plugins/ref.plugin.bash diff --git a/bash_it.sh b/bash_it.sh index fef85847..f0c850c2 100644 --- a/bash_it.sh +++ b/bash_it.sh @@ -69,6 +69,5 @@ function bash-it() { echo " todo-help This will list out all the aliases you can use with todo.txt-cli" echo " aliases-help Generic list of aliases." echo " plugins-help This will list out all the plugins and functions you can use with bash-it" - echo " ref-help Get help for the ref plugin." echo } diff --git a/plugins/ref.plugin.bash b/plugins/ref.plugin.bash deleted file mode 100644 index 1c4deb0b..00000000 --- a/plugins/ref.plugin.bash +++ /dev/null @@ -1,109 +0,0 @@ -##################################################################################################################################################################### -# README -# ------ -# -# ref is a plugin for storing HTML formatted references, mainly suited for programming. -# Your $REF_DIR variable is the directory for storing these references in. If it does not exist, it will be created automatically. -# Here is an example of what my $REF_DIR looks like, because this will be of use when I explain how your $REF_DIR has to be structured: -# -# ~/.ref/ -# ruby/ -# general/ -# index.html -# bash/ -# array/ -# index.html -# select/ -# index.html -# -# This is what the basic structure of your $REF_DIR should look like: Subdirectories for each subject, and then another set of subdirectories for the part of the -# subject you want to reference. And in the second subdirectory, an index.html file. -# -# To use ref, you do the ref command followed by the sugject and the sub-subject as arguments. For instance: -# -# ref bash array -# -# Would open the bash/array/index.html file. -# -# To list your references, you would do the ref ls command, optionally followed by a subject. For instance: -# -# ref ls -# -# Would give me: -# -# ruby bash -# -# And: -# -# ref ls bash -# -# would output: -# -# array -# select -##################################################################################################################################################################### - -ref() { - if [ ! -d "$REF_DIR" ] - then - mkdir -p "$REF_DIR" - fi - - REF_DIR=${REF_DIR%/} - - builtin cd $REF_DIR - - if [ "$1" = 'ls' ] - then - if [ "$2" = '' ] - then - ls -G - builtin cd - > /dev/null - return - else - ls -G - builtin cd - > /dev/null - return - fi - elif [ "$1" = 'new' ] - then - mkdir -p "$2"/"$3" - echo You can now put the index.html file into "$REF_DIR"/"$2"/"$3" - builtin cd - > /dev/null - return - fi - - DIR="${1}/${2}" - - builtin cd "$REF_DIR"/"$DIR" - - if [ $(uname) = "Darwin" ] - then - open index.html - elif [ $(uname) = "Linux" ] - then - gnome-open index.html - fi -} - -ref-help() { - echo - echo "Help for the ref plugin" - echo "-----------------------" - echo - echo "Setting up: " - echo - echo "First, set the REF_DIR variable in you ~/.bash_profile to the directory you want to store your references in." - echo "You don't even have to create this directory if you don't want to, ref will make it for you if it doesn't exist." - echo - echo "Then, you can start adding some refs. You can do so with this command: " - echo " ref new topic subtopic" - echo "Where topic is the general topic, such as ruby. And subtopic is a more exact topic, like array." - echo "This will create a directory for the topic, and a subdirectory for the subtopic. You can then move a file of your desired format into the subtopic's directory." - echo - echo "To access your ref, you would do the following command: " - echo " ref topic subtopic" - echo "Where topic and subtopic are the same as before, but ref will open the file under your topic/subtopic directory. Unless it is a full website." - echo - echo "You can also download full websites as a ref, as long as it has an index.html file, it will work." -} From 8d3cd22c541ade83e47c5b5d62606f5a7ffd5e4b Mon Sep 17 00:00:00 2001 From: Mark Szymanski Date: Mon, 6 Dec 2010 16:20:36 -0600 Subject: [PATCH 17/17] Removed REF_DIR variable from .bash_profile template. --- template/bash_profile.template.bash | 3 --- 1 file changed, 3 deletions(-) diff --git a/template/bash_profile.template.bash b/template/bash_profile.template.bash index 441e06ba..17853b1a 100644 --- a/template/bash_profile.template.bash +++ b/template/bash_profile.template.bash @@ -50,8 +50,5 @@ export TODO="t" # Set store directory for handmade commandline history tool export hchtstoredir="$HOME/.hcht" -# Set this to the directory to use for the ref plugin -export REF_DIR="$HOME/.ref/" - # Load Bash It source $BASH/bash_it.sh