mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 13:25:38 +00:00
small tweaks
This commit is contained in:
parent
22fe79fa80
commit
c5688dc43c
@ -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
|
||||||
|
@ -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" ]
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user