function ob-get-links -d "Get Obsidian links in file" -a filename
cat "$filename" | grep -oP '(?<=\- \[\[).*(?=\]\])'
end