New-Item -path $profile -type file –force
get-alias | where {$_.ReferencedCommand -match "exe"} | format-table Name,Definition -autosize
alias
@powershell -NoProfile -ExecutionPolicy RemoteSigned -Command "iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex"
choco install nodejs.install -y
choco install python2 -y
choco install git -y
choco install openssh -y
choco install msys2 -y
choco install notepad2 -y
- dataURI
- colordiff
- ss
- traceroute
- timestamp
- tree
- optipng
brew install optipng
- pdftohtml
- wget
- MsysGit
- ImageMagick
- make
- python
DEPRICATED use WSL
Command line:
%SYSTEMDRIVE%\Windows\System32\WindowsPowerShell\v1.0\powershell.exe /c "chcp 65001;sh --login -i"
Start directory:
%HOMEDRIVE%%HOMEPATH%
DEPRICATED use Zsh
mkdir ~/.bash
cd ~/.bash
git clone git://github.com/jimeh/git-aware-prompt.git
# C:\tools\msys64\etc\bash.bashrc
source ~/.profile
git config core.autocrlf input
git rm --cached -r .
git reset --hard
.zshrc:3: command not found: ^M
The solution is as follows:
vi ~/.zshrc
then enter :set ff=unix
Licenses: GPL, MIT, Freeware (with commercial use available), (cc-by-sa) Guarantees: USE THE SOFTWARE AT YOUR OWN RISK