]> Freerunner's - dotfiles.git/commitdiff
stow: update config and add wrapper script for fish
authorAndre Ramnitz <tux.rising@gmail.com>
Wed, 13 Dec 2023 16:13:04 +0000 (17:13 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 18 Aug 2024 16:18:52 +0000 (18:18 +0200)
README.MD
fish/.config/fish/functions/stow.fish [new file with mode: 0644]

index 953ab1c5a54800e3dfa201f07cd0bdff57dd9f33..10104d2c4233f88001c10bb06c1b0293d9fe0c9a 100644 (file)
--- 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 (file)
index 0000000..e38ae52
--- /dev/null
@@ -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
+