Open silverhook opened 3 years ago
I'd be open to a pull request if you want to implement it :)
Fair :)
The problem being that I’m neither very savvy in Fish nor in SVN.
Let’s leave it open and if I (miraculously) manage to whip something up, I’ll open a pull request; but I hope someone else beats me to it.
This might be a very stupid question, but is there any reason why this theme does not use fish_vcs_prompt
?
https://fishshell.com/docs/current/cmds/fish_vcs_prompt.html
Otherwise, this might be a good source of inspiration, as it is a similar-looking theme that supports SVN: https://github.com/oh-my-fish/theme-agnoster/blob/43860ce1536930bca689470e26083b0a5b7bd6ae/functions/fish_prompt.fish
There is also https://fishshell.com/docs/current/cmds/fish_svn_prompt.html
I just tried fish_svn_prompt
as a stand-alone command and on my laptop it takes 4-7s, so not ideal for a prompt, perhaps.
Perhaps it a MVP would be to just show an icon that the directory is an SVN repository.
That should at least make the user aware of the environment they are in and act accordingly.
I know Subversion is very much out of fashion, but it still has its use (e.g. for contributing translations to KDE).
It would be ever so cool if this theme supported svn as it does git :)