From 00717872e72a11fb640003fdb71e1817da547415 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Wed, 13 Dec 2023 17:13:04 +0100 Subject: [PATCH] stow: update config and add wrapper script for fish --- README.MD | 2 +- fish/.config/fish/functions/stow.fish | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 fish/.config/fish/functions/stow.fish diff --git a/README.MD b/README.MD index 953ab1c5..10104d2c 100644 --- a/README.MD +++ b/README.MD @@ -1,5 +1,5 @@ # Freerunner's dotfiles Usage: -`find . -maxdepth 1 -mindepth 1 -not -path '*/.*' -type d -exec basename {} \; | xargs stow -t ~` +`find . -maxdepth 1 -mindepth 1 -not -path '*/.*' -type d -exec basename {} \; | xargs stow -R -t ~` diff --git a/fish/.config/fish/functions/stow.fish b/fish/.config/fish/functions/stow.fish new file mode 100644 index 00000000..e38ae52e --- /dev/null +++ b/fish/.config/fish/functions/stow.fish @@ -0,0 +1,4 @@ +function stow + bash -c "/usr/bin/stow $argv 2> >(grep -v 'BUG in find_stowed_path? Absolute/relative mismatch' 1>&2)" +end + -- 2.51.2