Merge branch 'master' of /srv/git/myshellconfig

This commit is contained in:
Jakobus Schürz 2020-12-15 13:15:29 +01:00
commit ff4c3d6a77

View file

@ -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"