Files
ssh-menu/rofi-forge-cache
2022-11-21 17:38:39 +01:00

8 lines
193 B
Bash
Executable File

#! /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