From 5d06784daa17bf38f3a9fda2b8ba4d9bf057c4f3 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Fri, 22 Sep 2023 07:23:16 -0400 Subject: [PATCH] fix(fish): avoid user functions (#36) Some users wrap applications such as ln with functions for use in interactive shells, and these functions may not be appropriate in a non-interactive context - explicitly specify the ln command --- profile_helper.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/profile_helper.fish b/profile_helper.fish index 2b62f5cc..50bc868b 100755 --- a/profile_helper.fish +++ b/profile_helper.fish @@ -66,7 +66,7 @@ function set_theme end # Symlink and source - ln -fs \ + command ln -fs \ "$BASE16_SHELL_PATH/scripts/base16-$theme_name.sh" \ "$BASE16_SHELL_COLORSCHEME_PATH" if not test -e "$BASE16_SHELL_COLORSCHEME_PATH"