From: Andre Ramnitz Date: Wed, 13 Dec 2023 16:13:04 +0000 (+0100) Subject: stow: update config and add wrapper script for fish X-Git-Tag: v0.2~331 X-Git-Url: https://git.ramnitz.eu/?a=commitdiff_plain;h=00717872e72a11fb640003fdb71e1817da547415;p=dotfiles.git stow: update config and add wrapper script for 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 +