Merged in mrman208's additions.
parent
13abb34b64
commit
468c0c5ce9
|
|
@ -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
|
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
|
awk '$1 ~ /Host$/ { print $2 }' ~/.ssh/config
|
||||||
}
|
}
|
||||||
|
|
@ -21,7 +21,7 @@ function git_prompt_info() {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function rvm_version_prompt {
|
function rvm_version_prompt() {
|
||||||
if which rvm &> /dev/null; then
|
if which rvm &> /dev/null; then
|
||||||
rvm=$(rvm tools identifier) || return
|
rvm=$(rvm tools identifier) || return
|
||||||
echo -e "$RVM_THEME_PROMPT_PREFIX$rvm$RVM_THEME_PROMPT_SUFFIX"
|
echo -e "$RVM_THEME_PROMPT_PREFIX$rvm$RVM_THEME_PROMPT_SUFFIX"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue