From ea02b3205da383839a8e19ec1909b2237c6f68c0 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Thu, 12 Jan 2023 20:11:52 +0000 Subject: [PATCH] Update 7 files - /home/dot_local/bin/symlink_yank - /home/dot_local/bin/symlink_qscp - /home/dot_local/bin/executable_gist - /home/dot_local/bin/symlink_yank.tmpl - /home/dot_local/bin/symlink_qscp.tmpl - /home/dot_local/bin/executable_task - /home/dot_local/bin/executable_gist.tmpl --- home/dot_local/bin/executable_gist | 5 ----- home/dot_local/bin/executable_gist.tmpl | 5 +++++ home/dot_local/bin/executable_task | 2 +- home/dot_local/bin/{symlink_qscp => symlink_qscp.tmpl} | 0 home/dot_local/bin/{symlink_yank => symlink_yank.tmpl} | 0 5 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 home/dot_local/bin/executable_gist create mode 100644 home/dot_local/bin/executable_gist.tmpl rename home/dot_local/bin/{symlink_qscp => symlink_qscp.tmpl} (100%) rename home/dot_local/bin/{symlink_yank => symlink_yank.tmpl} (100%) diff --git a/home/dot_local/bin/executable_gist b/home/dot_local/bin/executable_gist deleted file mode 100644 index e5e80333..00000000 --- a/home/dot_local/bin/executable_gist +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env bash - -echo {{ .user.GITHUB_GIST_TOKEN }} > ~/.gist -gist $@ -rm -f ~/.gist diff --git a/home/dot_local/bin/executable_gist.tmpl b/home/dot_local/bin/executable_gist.tmpl new file mode 100644 index 00000000..e71cd0ad --- /dev/null +++ b/home/dot_local/bin/executable_gist.tmpl @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +echo "{{ .user.GITHUB_GIST_TOKEN }}" > ~/.gist +gist $* +rm -f ~/.gist diff --git a/home/dot_local/bin/executable_task b/home/dot_local/bin/executable_task index e4b74c85..8245c885 100644 --- a/home/dot_local/bin/executable_task +++ b/home/dot_local/bin/executable_task @@ -2,7 +2,7 @@ if command -v task > /dev/null && [ -n "$PATH_TASK" ]; then if [ -f Taskfile.yml ]; then - $PATH_TASK $@ + $PATH_TASK $* else $PATH_TASK --taskfile "$HOME/.local/src/shared-common/common/Taskfile.yml" $@ fi diff --git a/home/dot_local/bin/symlink_qscp b/home/dot_local/bin/symlink_qscp.tmpl similarity index 100% rename from home/dot_local/bin/symlink_qscp rename to home/dot_local/bin/symlink_qscp.tmpl diff --git a/home/dot_local/bin/symlink_yank b/home/dot_local/bin/symlink_yank.tmpl similarity index 100% rename from home/dot_local/bin/symlink_yank rename to home/dot_local/bin/symlink_yank.tmpl