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