summaryrefslogtreecommitdiff
path: root/hm/shell/fish.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/shell/fish.nix')
-rw-r--r--hm/shell/fish.nix21
1 files changed, 0 insertions, 21 deletions
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