Define shell to run in

This commit is contained in:
Lukáš Kucharczyk 2021-03-12 19:38:14 +01:00
parent a3eebec467
commit 4ff4a17495
No known key found for this signature in database
GPG Key ID: 65524498C0196B64
1 changed files with 1 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#!/bin/env fish
function ob-get-links -d "Get Obsidian links in file" -a filename function ob-get-links -d "Get Obsidian links in file" -a filename
cat "$filename" | grep -oP '(?<=\- \[\[).*(?=\]\])' cat "$filename" | grep -oP '(?<=\- \[\[).*(?=\]\])'
end end