From aa0db161166fbd4a4bb6c05d6bed146e114af80b Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Tue, 8 Feb 2022 09:11:00 +0100 Subject: [PATCH] Add `powershell` script --- README.md | 8 ++++---- utils/bin/powershell | 3 +++ 2 files changed, 7 insertions(+), 4 deletions(-) create mode 100644 utils/bin/powershell diff --git a/README.md b/README.md index a27f12a..76d0e6b 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ path to the binaries. Install using `stow`: ```console -stow stow -v -d . -t /usr/local utils +stow -v -d . -t /usr/local utils ``` ## Scripts @@ -18,7 +18,7 @@ stow stow -v -d . -t /usr/local utils - `ipfonfig`: use Windows' `ipconfig` command, WSL does not provide or support `ifconfig` (kind of redundant because we can use `ip` in the WSL but keeping it here anyway for convenience) -- `wsl`: use the WSL to WSL the WSL. +- `powershell`: run PowerShell inside WSL terminal. - `start`: start `tmux` as a sub-process of `ssh-agent` and attach to the - `main` session, creating it if not existent. - + `main` session, creating it if not existent. +- `wsl`: use the WSL to WSL the WSL. diff --git a/utils/bin/powershell b/utils/bin/powershell new file mode 100644 index 0000000..cf9e50a --- /dev/null +++ b/utils/bin/powershell @@ -0,0 +1,3 @@ +#!/bin/sh +exec /mnt/c/windows/system32/WindowsPowerShell/v1.0/powershell.exe "$@" +