Fix bogus bash binary location
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
function add_ssh() {
|
||||
echo -en "\n\nHost $1\n HostName $2\n User $3\n ServerAliveInterval 30\n ServerAliveCountMax 120" >> ~/.ssh/config
|
||||
@@ -6,4 +6,4 @@ function add_ssh() {
|
||||
|
||||
function sshlist() {
|
||||
awk '$1 ~ /Host$/ { print $2 }' ~/.ssh/config
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user