aboutsummaryrefslogtreecommitdiff
path: root/_pastebins/guix-shebang.md
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-02-14 12:34:57 -0300
committerEuAndreh <eu@euandre.org>2020-02-14 12:34:57 -0300
commit46b7f2321ca0a1586019899a9cb563521c035d09 (patch)
treeb836d55b233aed72c2120636d742c2eeb0fd64ae /_pastebins/guix-shebang.md
parentSort pastebins listing by date (diff)
downloadeuandre.org-46b7f2321ca0a1586019899a9cb563521c035d09.tar.gz
euandre.org-46b7f2321ca0a1586019899a9cb563521c035d09.tar.xz
/home/andreh/dev/libre/dotfiles/scripts/ad-hoc/pastebin.sh: Auto-add _pastebins/guix-shebang.md
Diffstat (limited to '_pastebins/guix-shebang.md')
-rw-r--r--_pastebins/guix-shebang.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/_pastebins/guix-shebang.md b/_pastebins/guix-shebang.md
new file mode 100644
index 0000000..626aea8
--- /dev/null
+++ b/_pastebins/guix-shebang.md
@@ -0,0 +1,14 @@
+---
+title: Guix shebang
+date: 2020-02-14
+layout: pastebin
+lang: en
+---
+
+```shell
+#!/usr/bin/env -S guix environment --ad-hoc bash -- bash
+set -Eeuo pipefail
+cd "$(dirname "${BASH_SOURCE[0]}")"
+
+pwd
+```