From 46b7f2321ca0a1586019899a9cb563521c035d09 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 14 Feb 2020 12:34:57 -0300 Subject: /home/andreh/dev/libre/dotfiles/scripts/ad-hoc/pastebin.sh: Auto-add _pastebins/guix-shebang.md --- _pastebins/guix-shebang.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 _pastebins/guix-shebang.md (limited to '_pastebins/guix-shebang.md') 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 +``` -- cgit v1.2.3