Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (9 sloc) 335 Bytes
alias nnn="nn new" # New
alias nne="nn edit -i" # Edit
for tag in $(nn tags); do
alias nn${tag}="nn new $tag" # Create new file with tag.
alias nn${tag}s="nn list name:-${tag}-" # List all files with tag.
done
# Cat with pandoc to less
alias nnplain='f() { nn cat $1 | pandoc --to=plain | less };f'
alias nncat='nn cat'