Add powershell
script
This commit is contained in:
parent
8d9faec315
commit
aa0db16116
2 changed files with 7 additions and 4 deletions
|
@ -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
3
utils/bin/powershell
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
exec /mnt/c/windows/system32/WindowsPowerShell/v1.0/powershell.exe "$@"
|
||||
|
Loading…
Add table
Reference in a new issue