···11#!/usr/bin/env bash
2233+# get into a shell that has poonam
44+cd ~/kitaab || exit;
55+nix develop;
36# Use fzf to select a file and capture the output
44-selected_file=$(python3 poonam/main.py report --titles=false | head -n -2 | fzf --preview 'bat --color=always --terminal-width -1 ./vimwiki/{}')
77+selected_file=$(${pkgs.poonam}/main report --titles=false | head -n -2 | fzf --preview 'bat --color=always --terminal-width -1 ./vimwiki/{}')
88+echo $selected_file
59610# Add additional details to the file path
77-file_path="./vimwiki/${selected_file}"
88-99-# Open the file in vim for editing
1010-vim "${file_path}"
1111-1111+# file_path="./vimwiki/${selected_file}"
1212+#
1313+# # Open the file in vim for editing
1414+# vim "${file_path}"
1515+#