data-setup icon indicating copy to clipboard operation
data-setup copied to clipboard

Aliases suggestion

Open edoumazane opened this issue 2 years ago • 4 comments

alias ez="exec zsh" #apple (linux?) alias ws="wsl.exe --shutdown" #windows, please check alias rc="code ~/.zshrc" alias cl="clear"

edoumazane avatar Mar 05 '22 05:03 edoumazane

wsl.exe --shutdown needs to be executed in powershell, so it can't be added as alias from the dotfiles @dmilon have you heard about aliases for powershell?

brunolajoie avatar Mar 29 '22 12:03 brunolajoie

@brunolajoie I never had to define PowerShell aliases. They seem to exist but I don't know in which file they should be defined.

dmilon avatar Mar 29 '22 15:03 dmilon

you can run wsl.exe --shutdown (with .exe) in the ubuntu terminal under wsl It does the same thing as opening powershell and running wsl --shutdown It's a tremendous gain of time. Vincent Moreau showed me that

edoumazane avatar Mar 29 '22 15:03 edoumazane

ahhh! soo good! In that case, it's definitely worth creating an alias, thanks @E-Dmz !

brunolajoie avatar Apr 01 '22 08:04 brunolajoie

No alias needed, but i've updated the common setup error guide here. Thanks!

brunolajoie avatar Sep 20 '22 07:09 brunolajoie