From cf3344ab4889d001ba160c5145a1d912b06b15a1 Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Fri, 21 Jan 2022 11:55:51 +0100 Subject: [PATCH] Make scripts easily installable with `stow` --- README.md | 10 +++++++++- {bin => utils/bin}/explorer | 0 {bin => utils/bin}/ipconfig | 0 {bin => utils/bin}/start | 0 {bin => utils/bin}/wsl | 0 5 files changed, 9 insertions(+), 1 deletion(-) rename {bin => utils/bin}/explorer (100%) rename {bin => utils/bin}/ipconfig (100%) rename {bin => utils/bin}/start (100%) rename {bin => utils/bin}/wsl (100%) diff --git a/README.md b/README.md index 8f6c1f7..a27f12a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,15 @@ These are small scripts to help with living in the WSL on Windows. Mostly wrappers to easily run Windows executables without having to hunt down the full path to the binaries. -# Scripts +## Installation + +Install using `stow`: + +```console +stow stow -v -d . -t /usr/local utils +``` + +## Scripts - `explorer`: open current directory in Windows Explorer - `ipfonfig`: use Windows' `ipconfig` command, WSL does not provide or support diff --git a/bin/explorer b/utils/bin/explorer similarity index 100% rename from bin/explorer rename to utils/bin/explorer diff --git a/bin/ipconfig b/utils/bin/ipconfig similarity index 100% rename from bin/ipconfig rename to utils/bin/ipconfig diff --git a/bin/start b/utils/bin/start similarity index 100% rename from bin/start rename to utils/bin/start diff --git a/bin/wsl b/utils/bin/wsl similarity index 100% rename from bin/wsl rename to utils/bin/wsl