mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
ensure $USER is set
This commit is contained in:
@@ -6,6 +6,8 @@ set -o nounset
|
||||
set -o errexit
|
||||
set -o shwordsplit 2>/dev/null || true # Make zsh behave like bash
|
||||
|
||||
USER=${USER:-$(id -un)}
|
||||
|
||||
case $(uname) in
|
||||
Linux)
|
||||
FINDTYPE="-xtype"
|
||||
|
||||
Reference in New Issue
Block a user