Tide prompt support for Fish

This commit is contained in:
2022-09-02 15:56:27 -07:00
parent 13462d44e7
commit b1db013696
2 changed files with 136 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
{ config, lib, pkgs, ... }:
let tide_conf = builtins.readFile ./tide_config.fish; in
{
programs.zoxide = {
enable = true;
@@ -15,6 +16,16 @@
enable = true;
plugins = [
{
# https://github.com/IlanCosman/tide
name = "tide";
src = pkgs.fetchFromGitHub {
owner = "IlanCosman";
repo = "tide";
rev = "13fa55ef109009e04e6e5fabda0d0e662b4e6315";
sha256 = "sha256-+6LdcFLqDzUcCmBoKO4LDH5+5odqVqUb1NmEVNMEMjs=";
};
}
{
# https://github.com/PatrickF1/fzf.fish
name = "fzf";
@@ -36,6 +47,8 @@
fish_add_path ~/.emacs.d/bin
fzf_configure_bindings --history=\cr --directory=\ef --git_status=\es
${builtins.readFile ./tide_config.fish}
'';
shellAliases = {