fixes nn script
This commit is contained in:
parent
25bcbddb73
commit
2910afd952
1 changed files with 1 additions and 1 deletions
|
|
@ -74,7 +74,7 @@
|
||||||
set -l slug (echo $slug | sed -E 's/[^a-z0-9]+/-/g' | sed -E 's/^-|-$//g')
|
set -l slug (echo $slug | sed -E 's/[^a-z0-9]+/-/g' | sed -E 's/^-|-$//g')
|
||||||
|
|
||||||
# Compose filename
|
# Compose filename
|
||||||
set -l filename "$ts_$slug.md"
|
set -l filename "$ts"_"$slug.md"
|
||||||
|
|
||||||
# Directory for notes (change if you prefer another path)
|
# Directory for notes (change if you prefer another path)
|
||||||
set -l notes_dir ~/notes
|
set -l notes_dir ~/notes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue