summaryrefslogtreecommitdiff
path: root/hm/shell/fish.nix
diff options
context:
space:
mode:
authoradikro <adikro@disroot.org>2026-03-15 22:13:15 +0100
committeradikro <adikro@disroot.org>2026-03-15 22:13:15 +0100
commit18f08bf53591f3e68043730a627889957009deb6 (patch)
tree228a31ab5489e98253e963424cd064d57dcd7a6e /hm/shell/fish.nix
parent8eb0e90219a4de87d8d476e15329e14720f091c6 (diff)
browser stuff
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