From 3d4f1760482b6f9747b32e7cc1a6eef91c010deb Mon Sep 17 00:00:00 2001 From: kj-sh604 Date: Wed, 17 Jul 2024 22:57:43 -0400 Subject: refactor: remove `fish_open_override.fish` unfortunately, the function I was attempted is not possible in the `fish` shell --- .config/fish/functions/fish_open_override.fish | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 .config/fish/functions/fish_open_override.fish diff --git a/.config/fish/functions/fish_open_override.fish b/.config/fish/functions/fish_open_override.fish deleted file mode 100644 index 1e5e58f..0000000 --- a/.config/fish/functions/fish_open_override.fish +++ /dev/null @@ -1,19 +0,0 @@ -function open - if command -v xdg-open > /dev/null - xdg-open $argv - return - end - - if test (uname) = "Darwin" - command open $argv - return - end - - if test (uname) = "Haiku" - command open $argv - return - end - - echo "error: could not detect the open command for your system." - return 1 -end -- cgit v1.2.3