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 sed
dunkirk.sh
1 month ago
5a06f311
3049891b
verified
This commit was signed with the committer's
known signature
.
dunkirk.sh
SSH Key Fingerprint:
SHA256:DqcG0RXYExE26KiWo3VxJnsxswN1QNfTBvB+bdSpk80=
+1
-1
1 changed file
expand all
collapse all
unified
split
modules
home
system
shell.nix
+1
-1
modules/home/system/shell.nix
···
618
618
if [[ -z "$tangled_cookie" ]]; then
619
619
${pkgs.gum}/bin/gum style --foreground 214 "Warning: No tangled session cookie found at /run/agenix/tangled-session"
620
620
else
621
621
-
encoded_desc=$(printf '%s' "$DESCRIPTION" | ${pkgs.gnused}/bin/sed 's/ /%20/g; s/!/%21/g; s/"/%22/g; s/#/%23/g; s/\$/%24/g; s/&/%26/g; s/'"'"'/%27/g; s/(/%28/g; s/)/%29/g; s/\*/%2A/g; s/+/%2B/g; s/,/%2C/g; s/\//%2F/g; s/:/%3A/g; s/;/%3B/g; s/=/%3D/g; s/?/%3F/g; s/@/%40/g; s/\[/%5B/g; s/\]/%5D/g')
621
621
+
encoded_desc=$(printf '%s' "$DESCRIPTION" | ${pkgs.gnused}/bin/sed 's| |%20|g; s|!|%21|g; s|"|%22|g; s|#|%23|g; s|\$|%24|g; s|&|%26|g; s|'"'"'|%27|g; s|(|%28|g; s|)|%29|g; s|\*|%2A|g; s|+|%2B|g; s|,|%2C|g; s|/|%2F|g; s|:|%3A|g; s|;|%3B|g; s|=|%3D|g; s|\?|%3F|g; s|@|%40|g; s|\[|%5B|g; s|\]|%5D|g')
622
622
623
623
response=$(${pkgs.curl}/bin/curl -s 'https://tangled.org/repo/new' \
624
624
-H 'Accept: */*' \