Define shell to run in
This commit is contained in:
parent
a3eebec467
commit
4ff4a17495
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue