From 4d882968f977a25f7befe5d11d2bee321164dca3 Mon Sep 17 00:00:00 2001 From: Ludwig Lehnert Date: Mon, 8 Apr 2024 18:13:45 +0200 Subject: [PATCH] added json shortcuts to fish --- fish-config.fish | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fish-config.fish b/fish-config.fish index 0994d68..34551aa 100644 --- a/fish-config.fish +++ b/fish-config.fish @@ -7,3 +7,6 @@ end set -x EDITOR hx alias tmux="tmux -2" +alias json-get="curl --request GET -H 'Content-Type: application/json'" +alias json-post="curl --request POST -H 'Content-Type: application/json'" +