<commit_before>set -l tofishdir ~/.tofish

complete -c to -n '__fish_use_subcommand' -x -a "add" -d 'Create a bookmark'
complete -c to -n '__fish_use_subcommand' -x -a "rm" -d 'Remove a bookmark'
complete -c to -n '__fish_use_subcommand' -x -a "ls" -d 'Lists all bookmarks'
complete -c to -n '__fish_use_subcommand' -x -a "list" -d 'Lists all bookmarks'
complete -c to -n '__fish_use_subcommand' -x -a "mv" -d 'Rename a bookmark'
complete -c to -n '__fish_use_subcommand' -x -a "rename" -d 'Rename a bookmark'
complete -c to -n '__fish_use_subcommand' -x -a "help" -d 'Show Help'

complete -c to -f -a "(ls -1 '$tofishdir')" -d 'Bookmark'

for i in add rm mv ls help<commit_msg>fix completion for hidden links<commit_after>set -l tofishdir ~/.tofish

complete -c to -n '__fish_use_subcommand' -x -a "add" -d 'Create a bookmark'
complete -c to -n '__fish_use_subcommand' -x -a "rm" -d 'Remove a bookmark'
complete -c to -n '__fish_use_subcommand' -x -a "ls" -d 'Lists all bookmarks'
complete -c to -n '__fish_use_subcommand' -x -a "list" -d 'Lists all bookmarks'
complete -c to -n '__fish_use_subcommand' -x -a "mv" -d 'Rename a bookmark'
complete -c to -n '__fish_use_subcommand' -x -a "rename" -d 'Rename a bookmark'
complete -c to -n '__fish_use_subcommand' -x -a "help" -d 'Show Help'


for b in (ls -a1 $tofishdir)
  if test "$b" != '.' -a "$b" != '..'
    complete -c to -f -a "$b" -d 'Bookmark'
  end
end

for i in add rm mv ls help
{'fraction_non_alphanumeric': 0.14812239221140472, 'fraction_numerical': 0.0013908205841446453, 'mean_word_length': 3.3213213213213213, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '724045', 'n_tokens_mistral': 590, 'n_tokens_neox': 584, 'n_words': 224}