dotfiles/playbooks/roles/shell/templates/scripts/toolbox_name.sh
Matej Focko f5a3e0a2ea
Include toolbox name in status
Signed-off-by: Matej Focko <me@mfocko.xyz>
2021-03-04 17:04:05 +01:00

3 lines
88 B
Bash

#!/bin/bash
cat /run/.containerenv | grep -E '^name=' | sed -e 's/name=\"\(.*\)\"/\1/'