#! /bin/bash # Clean cache echo -n > ~/.cache/rofi-2.sshcache # Look for hostfiles named after target names in $INFRA/host/ ls ${INFRA}/host/ | sed "s/^/1 root@/" >> ~/.cache/rofi-2.sshcache