Skip to content

Instantly share code, notes, and snippets.

@Zeyu-Li
Created November 19, 2022 06:12
Show Gist options
  • Select an option

  • Save Zeyu-Li/8243ef5b508be2ee81605d5cc2dd9509 to your computer and use it in GitHub Desktop.

Select an option

Save Zeyu-Li/8243ef5b508be2ee81605d5cc2dd9509 to your computer and use it in GitHub Desktop.
Store in C:\Users\{$USERNAME}\Documents\WindowsPowerShell
Function zshRun() {
Invoke-Expression 'wsl.exe /bin/zsh'
}
Set-Alias -Name zsh -Value zshRun # can't do this in 1 line smh my head
@Zeyu-Li
Copy link
Author

Zeyu-Li commented Nov 19, 2022

Runs zsh on current directory on mount instead of bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment