From: Robert R Evans Date: Thu, 14 Oct 2010 22:11:02 +0000 (-0700) Subject: Merged in mrman208's additions. X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=468c0c5ce9ba8eeb41dc9bd026ed3751b3eeeb3f;p=common%2Fbash_it.git Merged in mrman208's additions. --- diff --git a/plugins/ssh.plugins.bash b/plugins/ssh.plugins.bash index d771b3f..0e50199 100644 --- a/plugins/ssh.plugins.bash +++ b/plugins/ssh.plugins.bash @@ -4,6 +4,6 @@ function add_ssh() { echo -en "\n\nHost $1\n HostName $2\n User $3\n ServerAliveInterval 30\n ServerAliveCountMax 120" >> ~/.ssh/config } -function sshosts() { +function sshlist() { awk '$1 ~ /Host$/ { print $2 }' ~/.ssh/config } \ No newline at end of file diff --git a/themes/base.theme.bash b/themes/base.theme.bash index 30fa539..f898875 100644 --- a/themes/base.theme.bash +++ b/themes/base.theme.bash @@ -21,7 +21,7 @@ function git_prompt_info() { } -function rvm_version_prompt { +function rvm_version_prompt() { if which rvm &> /dev/null; then rvm=$(rvm tools identifier) || return echo -e "$RVM_THEME_PROMPT_PREFIX$rvm$RVM_THEME_PROMPT_SUFFIX"