Last active
September 11, 2022 18:37
-
-
Save hkuno9000/8e6c0860a045764b43d3 to your computer and use it in GitHub Desktop.
my aliases on windows cmd shell + cygwin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias=doskey /macros | |
a=doskey /macros | |
h=doskey /history | |
l=dir /b $* | |
ziplist=unzip -l $* | |
7zlist=7z l $* | |
patchzip=perl -n -e "print if s/^Index: //;" patch.diff | zip patch.zip -@ | |
..=pushd ..\$* | |
...=pushd ..\..\$* | |
....=pushd ..\..\..\$* | |
eb="C:\Program Files\BowPad\BowPad.exe" $* | |
ek="C:\Program Files\sakura\sakura.exe" $* | |
e=%EDITOR% $* | |
winerr=%EDITOR% "%WindowsSDKDir%Include\winerror.h" | |
wm="C:\Program Files\WinMerge\WinMergeU.exe" $* | |
cygwin=c:\cygwin\cygwin.bat | |
bash=c:\cygwin\cygwin.bat | |
tail=c:\cygwin\bin\tail.exe $* | |
head=c:\cygwin\bin\head.exe $* | |
which=c:\cygwin\bin\which.exe $* | |
uniq=c:\cygwin\bin\uniq.exe $* | |
imageconvert=c:\cygwin\bin\convert $* | |
scp=c:\cygwin\bin\scp.exe $* | |
cgrep=c:\cygwin\bin\grep.exe --color $* | |
vim=c:\cygwin\bin\vim.exe | |
ttdiff=tortoiseproc /command:diff /path:$* | |
ttst=tortoiseproc /command:repostatus /path:$* | |
ttlog=tortoiseproc /command:log /path:$* | |
ttcommit=tortoiseproc /command:commit /path:$* | |
ttprop=tortoiseproc /command:properties /path:$* | |
ttblame=tortoiseproc /command:blame /path:$* | |
mybin=pushd %USERPROFILE%\mybin | |
mydoc=pushd %USERPROFILE%\Documents\$* | |
home=pushd %USERPROFILE%\$* | |
desk=pushd %USERPROFILE%\desktop\$* | |
temp=pushd %TEMP%\$* | |
github=pushd %USERPROFILE%\Documents\github\$* | |
sendto=start shell:sendto | |
sdkdir=pushd %WindowsSdkDir% | |
vcdir=pushd %VCINSTALLDIR% |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment