Today I Learned (April 01, 2024)

That I can use custom templates with the Obsidian Daily Notes plug in

  1. Add a template file under location <the-location>
  2. Set the template file in Settings > Daily Notes > Template File Location (you may also specify the location where to put new daily notes — e.g. if you want to use a separate folder for all your daily notes)

How to use qualified module imports in Nushell

Let’s say we have a source code module

# nushell/greeters.nu
export def hi [] {
  print "Hi!"
}

then we may import this with the qualifier greeters by executing

$ use nushell/greeters.nu # By not specifing any name or '*', the module is imported under name `greeters`
$ greeters hi 
Hi!