scripts: added 'charmap.sh'

This commit is contained in:
Valerie Wolfe 2024-08-22 15:34:22 -04:00
parent f43ac5c8d3
commit cd4e0c63be
3 changed files with 6 additions and 0 deletions

View file

@ -39,6 +39,7 @@ A feature-barren DOS clone of `ls` that hides Windows hidden files. Relies on
## Scripts ## Scripts
- `charmap.sh`: Simple wrapper for Character Map.
- `cmd.sh`: Simple wrapper for `cmd.exe`. - `cmd.sh`: Simple wrapper for `cmd.exe`.
- `dos.sh`: Simple wrapper for executing Windows commands directly. - `dos.sh`: Simple wrapper for executing Windows commands directly.
- `elevate.sh`: Elevate WSL (`-l`) or Windows (`-w`) commands from WSL. - `elevate.sh`: Elevate WSL (`-l`) or Windows (`-w`) commands from WSL.

4
scripts/charmap.sh Executable file
View file

@ -0,0 +1,4 @@
#!/usr/bin/bash
# generated with: mkwin /mnt/c/Windows/System32/charmap.exe -eq
'/mnt/c/Windows/System32/charmap.exe' $@

View file

@ -2,6 +2,7 @@
alias i := install alias i := install
install DIR="/usr/local/bin": install DIR="/usr/local/bin":
cp charmap {{DIR}}/charmap
cp cmd.sh {{DIR}}/cmd cp cmd.sh {{DIR}}/cmd
cp dos.sh {{DIR}}/dos cp dos.sh {{DIR}}/dos
cp elevate.sh {{DIR}}/elevate cp elevate.sh {{DIR}}/elevate