sqlite-backed shell history

add fish shell integration script #19

Merged oppi.li
targeting main
Merged opened by and assigned to oppi.li
targeting main

Changes #

main.go #

new 'init-fish' script, fish equivalent of the 'init' bash script fish_postexec for recording commands (replaces PROMPT_COMMAND) and a 'commandline'-based search

flake.nix #

add a 'programs.fish.interactiveShellInit' block below 'programs.bash.initExtra' add 'enableFishIntegration' below 'enableBashIntegration'

readme.txt #

add an install section for nixOS and local installation from source.

testing #

built locally ('go build -o stinkpot .') and sourced init-fish directly. confirmed fish_postexec handles registers confirmes ctrl+r opens the search TUI added flake input to personal nix config and confirmed that the new flake options work

gaps #

'stinkpot import' is still bash only. this is due to fish's history file being written in a different, YAML-like syntax happy to follow up on opening another PR on that after this one is resolved.

This pull request has no versions submitted yet.