small tweaks

This commit is contained in:
Noah Masur 2021-05-08 10:07:17 -04:00
parent 22fe79fa80
commit c5688dc43c
3 changed files with 3 additions and 2 deletions

View File

@ -33,5 +33,5 @@ choose_issue() {
issue_branch=$(choose_issue) issue_branch=$(choose_issue)
if [ -n "$issue_branch" ]; then if [ -n "$issue_branch" ]; then
git checkout -b "$issue_branch" echo "git checkout -b \"$issue_branch\""
fi fi

View File

@ -122,6 +122,7 @@ function abbrs --description 'All abbreviations'
# macOS # macOS
abbr -a casks 'vim $DOTS/homebrew/Caskfile' abbr -a casks 'vim $DOTS/homebrew/Caskfile'
abbr -a t 'trash'
# Linux # Linux
if [ (uname) = "Linux" ] if [ (uname) = "Linux" ]

View File

@ -1,4 +1,4 @@
function note-header function note-header
set -g CURRENT_WEATHER (curl -s "https://wttr.in/?format=1") 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 end