change syntax
This commit is contained in:
parent
f9cc98ac66
commit
d237cddf01
1 changed files with 3 additions and 2 deletions
|
@ -355,8 +355,9 @@ sshs() {
|
||||||
|
|
||||||
if [ -e "${HOME}/.config/myshellconfig/sshs_addfiles.conf" ] ; then
|
if [ -e "${HOME}/.config/myshellconfig/sshs_addfiles.conf" ] ; then
|
||||||
for file in $(cat "${HOME}/.config/myshellconfig/sshs_addfiles.conf");do
|
for file in $(cat "${HOME}/.config/myshellconfig/sshs_addfiles.conf");do
|
||||||
echo "add $i to FILELIST"
|
[ -e "$file" ] && {\
|
||||||
FILELIST+=("$i")
|
echo "add $file to FILELIST"; \
|
||||||
|
FILELIST+=("$i"); }
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
local SSH_OPTS="-o VisualHostKey=no -o ControlMaster=auto -o ControlPersist=15s -o ControlPath=~/.ssh/ssh-%r@%h:%p"
|
local SSH_OPTS="-o VisualHostKey=no -o ControlMaster=auto -o ControlPersist=15s -o ControlPath=~/.ssh/ssh-%r@%h:%p"
|
||||||
|
|
Loading…
Reference in a new issue