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
|
||||
cat "$filename" | grep -oP '(?<=\- \[\[).*(?=\]\])'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue