dotfiles/.local/bin/scripts/addgroup

4 lines
59 B
Bash
Executable File

#!/bin/sh -e
sudo usermod -aG "$@" "$USER"
sudo su "$USER"