Add powershell script

This commit is contained in:
Fernando Schauenburg 2022-02-08 09:11:00 +01:00
parent 8d9faec315
commit aa0db16116
2 changed files with 7 additions and 4 deletions

View file

@ -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.

3
utils/bin/powershell Normal file
View file

@ -0,0 +1,3 @@
#!/bin/sh
exec /mnt/c/windows/system32/WindowsPowerShell/v1.0/powershell.exe "$@"