Work journal scripts
This commit is contained in:
parent
e6241fd59b
commit
950d796b03
4 changed files with 5 additions and 2 deletions
|
@ -108,3 +108,4 @@ alias year 'cal (date +%Y)'
|
|||
alias mount 'sudo -E mount'
|
||||
alias pa pulsemixer
|
||||
alias mail neomutt
|
||||
alias wje work-journal-entry
|
||||
|
|
1
bin/N
1
bin/N
|
@ -1,3 +1,2 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
fn="${1}"; shift; nf "${fn}.md" "$@"
|
||||
|
|
1
bin/note
1
bin/note
|
@ -1,3 +1,2 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
fn="${1}"; shift; N "$(date +%Y-%m-%d)_${fn}" "$@"
|
||||
|
|
4
bin/work-journal-entry
Executable file
4
bin/work-journal-entry
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env fish
|
||||
N work/divvy/(date +%Y-%m-%d) && \
|
||||
pushd $NOTES_PATH && git add -A && \
|
||||
git commit -m "Edit work journal entry for "(date +%Y-%m-%d) && nsync
|
Reference in a new issue