diff options
author | self <george@gabbott.dev> | 2022-07-30 20:27:19 +0100 |
---|---|---|
committer | self <george@gabbott.dev> | 2022-07-30 20:27:19 +0100 |
commit | 19a04e23b6298f09766d342e5389d252d33bc759 (patch) | |
tree | af8df27845f43fdc11fc741533dd77292719ea5b /zsh/.zshrc | |
parent | 87b3087d9329dad67dad20a3147f1ea6d10e5576 (diff) |
mkdream
Diffstat (limited to 'zsh/.zshrc')
-rw-r--r-- | zsh/.zshrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -250,6 +250,14 @@ mn() { # make note nvim "$HOME/docs/wr/$1" } +mkdream() { # make dream record + if [ -z $1 ] ; then DT="yesterday" else DT="$1" fi + mkdir -p "$HOME/docs/wr/dream" + nvim "$HOME/docs/wr/dream/D$(date --iso-8601 -d $DT).txt" +} + + + autoload -Uz compinit compinit # End of lines added by compinstall |