From cd4e0c63beb76c5f604915b0e5e3096a03850fec Mon Sep 17 00:00:00 2001 From: Valerie Wolfe Date: Thu, 22 Aug 2024 15:34:22 -0400 Subject: [PATCH] scripts: added 'charmap.sh' --- README.md | 1 + scripts/charmap.sh | 4 ++++ scripts/justfile | 1 + 3 files changed, 6 insertions(+) create mode 100755 scripts/charmap.sh diff --git a/README.md b/README.md index 4944c4e..b233d59 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,7 @@ A feature-barren DOS clone of `ls` that hides Windows hidden files. Relies on ## Scripts +- `charmap.sh`: Simple wrapper for Character Map. - `cmd.sh`: Simple wrapper for `cmd.exe`. - `dos.sh`: Simple wrapper for executing Windows commands directly. - `elevate.sh`: Elevate WSL (`-l`) or Windows (`-w`) commands from WSL. diff --git a/scripts/charmap.sh b/scripts/charmap.sh new file mode 100755 index 0000000..1c7458c --- /dev/null +++ b/scripts/charmap.sh @@ -0,0 +1,4 @@ +#!/usr/bin/bash +# generated with: mkwin /mnt/c/Windows/System32/charmap.exe -eq + +'/mnt/c/Windows/System32/charmap.exe' $@ diff --git a/scripts/justfile b/scripts/justfile index 2726eb6..b5dac21 100644 --- a/scripts/justfile +++ b/scripts/justfile @@ -2,6 +2,7 @@ alias i := install install DIR="/usr/local/bin": + cp charmap {{DIR}}/charmap cp cmd.sh {{DIR}}/cmd cp dos.sh {{DIR}}/dos cp elevate.sh {{DIR}}/elevate