tangled
alpha
login
or
join now
dunkirk.sh
/
dots
3
fork
atom
Kieran's opinionated (and probably slightly dumb) nix config
3
fork
atom
overview
issues
pulls
pipelines
chore: fix ghrpc
dunkirk.sh
3 weeks ago
8eff85a9
9d0512f2
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+3
-3
1 changed file
expand all
collapse all
unified
split
modules
home
system
shell.nix
+3
-3
modules/home/system/shell.nix
···
675
675
676
676
# Create on GitHub via gh CLI
677
677
if [[ "$GITHUB" == true ]] && [[ "$SKIP_REMOTE_CREATION" == false ]]; then
678
678
-
gh_args="$GITHUB_USER/$NAME --$VISIBILITY"
679
679
-
[[ -n "$DESCRIPTION" ]] && gh_args="$gh_args --description \"$DESCRIPTION\""
678
678
+
gh_args=("$GITHUB_USER/$NAME" "--$VISIBILITY")
679
679
+
[[ -n "$DESCRIPTION" ]] && gh_args+=("--description" "$DESCRIPTION")
680
680
681
681
-
if ${pkgs.gh}/bin/gh repo create $gh_args 2>/tmp/gh-error-$$.log; then
681
681
+
if ${pkgs.gh}/bin/gh repo create "''${gh_args[@]}" 2>/tmp/gh-error-$$.log; then
682
682
${pkgs.gum}/bin/gum style --foreground 35 "✓ GitHub: https://github.com/$GITHUB_USER/$NAME"
683
683
else
684
684
${pkgs.gum}/bin/gum style --foreground 196 "✗ Failed to create GitHub repository"