diff options
Diffstat (limited to 'hm/shell')
| -rw-r--r-- | hm/shell/cli.nix | 3 | ||||
| -rw-r--r-- | hm/shell/fish.nix | 21 |
2 files changed, 2 insertions, 22 deletions
diff --git a/hm/shell/cli.nix b/hm/shell/cli.nix index a9e8397..7011d4d 100644 --- a/hm/shell/cli.nix +++ b/hm/shell/cli.nix @@ -178,7 +178,8 @@ in }; }; }; - programs.pls = { + # TODO: set up lsd + programs.lsd = { enable = true; enableFishIntegration = true; }; diff --git a/hm/shell/fish.nix b/hm/shell/fish.nix index 20b9a95..172d192 100644 --- a/hm/shell/fish.nix +++ b/hm/shell/fish.nix @@ -13,27 +13,6 @@ in programs.fish = { enable = true; - functions = { - rga-fzf = { - body = '' - set -l RG_PREFIX "rga --files-with-matches --smart-case" - set -l file ( - FZF_DEFAULT_COMMAND="$RG_PREFIX '$argv[1]'" \ - fzf --sort \ - --preview='test -n {}; and rga --pretty --context 5 {q} {}' \ - --phony -q "$argv[1]" \ - --bind "change:reload:$RG_PREFIX {q}" \ - --preview-window="70%:wrap" - ) - - if test -n "$file" - echo "Opening $file..." - xdg-open "$file" - end - ''; - }; - }; - interactiveShellInit = '' set fish_greeting fastfetch |
