mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-21 18:59:22 +01:00
{bash,zsh}rc: add adduser-to-group() as I never remember the order otherwise
This commit is contained in:
parent
b4c7de8ab2
commit
76b088e0ce
@ -923,6 +923,12 @@ else
|
||||
}
|
||||
fi
|
||||
|
||||
# In Debian there is "sudo adduser whoever whatever", but I keep forgetting
|
||||
# that the more common way is usermod -aG whatever,whereever whoever
|
||||
adduser-to-group() {
|
||||
usermod -aG "$2" "$1"
|
||||
}
|
||||
|
||||
# Source files for miscannellious modifications.
|
||||
|
||||
# acme.sh
|
||||
|
Loading…
Reference in New Issue
Block a user