From c5688dc43cc661b1db1677febe5123139b5723da Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 8 May 2021 10:07:17 -0400 Subject: [PATCH] small tweaks --- bin/jira-checkout | 2 +- fish.configlink/functions/abbrs.fish | 1 + fish.configlink/functions/note-header.fish | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/jira-checkout b/bin/jira-checkout index e677be7..69e297c 100755 --- a/bin/jira-checkout +++ b/bin/jira-checkout @@ -33,5 +33,5 @@ choose_issue() { issue_branch=$(choose_issue) if [ -n "$issue_branch" ]; then - git checkout -b "$issue_branch" + echo "git checkout -b \"$issue_branch\"" fi diff --git a/fish.configlink/functions/abbrs.fish b/fish.configlink/functions/abbrs.fish index cd7ca94..379cad5 100644 --- a/fish.configlink/functions/abbrs.fish +++ b/fish.configlink/functions/abbrs.fish @@ -122,6 +122,7 @@ function abbrs --description 'All abbreviations' # macOS abbr -a casks 'vim $DOTS/homebrew/Caskfile' + abbr -a t 'trash' # Linux if [ (uname) = "Linux" ] diff --git a/fish.configlink/functions/note-header.fish b/fish.configlink/functions/note-header.fish index 97fd189..84df107 100644 --- a/fish.configlink/functions/note-header.fish +++ b/fish.configlink/functions/note-header.fish @@ -1,4 +1,4 @@ function note-header set -g CURRENT_WEATHER (curl -s "https://wttr.in/?format=1") - set -g JOURNAL_HEADER "[Yesterday]($YESTERDAY_NOTE.md) | [Home](home.md) | [Tomorrow]($TOMORROW_NOTE.md)\n\n$LONG_DATE\n$CURRENT_WEATHER\n#journal\n\n---\n\n\n# Journal\n\n" + set -g JOURNAL_HEADER "[Yesterday]($YESTERDAY_NOTE.md) | [Home](home.md) | [Tomorrow]($TOMORROW_NOTE.md)\n\n$LONG_DATE\n$CURRENT_WEATHER\n#journal\n\n---\n\n" end