ChrisTitusTech / powershell-profile

Pretty PowerShell that looks good and functions almost as good as Linux terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Set-Alias : Cannot bind argument to parameter 'Value' because it is null.

itsRealGray opened this issue · comments

commented

image
how do i fix this. explain in with monkey mode on please (if its possible😅). i'm not that expert.

Hi @itsRealGray, This issue seems similar to issue 4. Please check the thread from this comment. Alternatively, you could comment Set-Alias -Name vim -Value $EDITOR as mentioned in this comment. Then, it shouldn't bother you.

The file must be in C:\Users\<yourusername>\Documents\WindowsPowershell\

Just run this command in Windows Powershell: explorer ($env:USERPROFILE + "\Documents\WindowsPowerShell")
This command will open windows file explorer with the folder located.
Then, you should see the file Microsoft.PowerShell_profile.ps1. Open the file with Notepad, make changes, then save and exit.

commented

thanks man it worked.

You're welcome! Now Please close this issue.