From 468c0c5ce9ba8eeb41dc9bd026ed3751b3eeeb3f Mon Sep 17 00:00:00 2001 From: Robert R Evans Date: Thu, 14 Oct 2010 15:11:02 -0700 Subject: [PATCH] Merged in mrman208's additions. --- plugins/ssh.plugins.bash | 2 +- themes/base.theme.bash | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" -- 2.17.1