This repository has been archived on 2024-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
setup/roles/system/facts/login_shell.fact
Pim Kunis 6670ffafa9 set zsh as login shell
install various packages
2022-11-26 01:51:20 +01:00

5 lines
112 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
LOGINSHELL=`getent passwd $USER | cut -d: -f7`
echo \"${LOGINSHELL}\"