-
Notifications
You must be signed in to change notification settings - Fork 2
/
autorun.bat
59 lines (54 loc) · 2.19 KB
/
autorun.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
@ECHO OFF
prompt $E[32m$P$E[m$G$s
doskey alias=doskey /macros $*
doskey ls=dir /b $*
doskey ll=dir $*
doskey ..=pushd ..
doskey ...=pushd ..\..
doskey ....=pushd ..\..\..
doskey .....=pushd ..\..\..\..
doskey ......=pushd ..\..\..\..\..
doskey cd=pushd $*
doskey cd-=popd
doskey ~=pushd %USERPROFILE%
doskey cat=type $*
doskey mv=move $*
doskey rm=del $*
doskey rmdir=rd /s /q $*
doskey search=dir /s /b $*
doskey cp=xcopy /friek $*
doskey findstring=findstr /pins /C:$*
doskey findproc=tasklist /v $B findstr /pins $*
doskey kill=taskkill /f /pid $*
doskey st=git status $*
doskey clean=git clean -xdf
doskey add=git add -p $*
doskey addall=git add -A
doskey pull=git pull $*
doskey br=git branch $*
doskey go=git checkout $*
doskey unstage=git reset HEAD $*
doskey syncto=git merge --squash -m "Syncing to $1." $1 $*
doskey commit=git commit -m $*
doskey diff=git diff $*
doskey log=git log --pretty=format:"%%Cred%%h%%Creset - %%C(bold blue)<%%an>%%Creset %%s %%Cgreen(%%cr)" --date=relative -10 $*
doskey mylog=git log --pretty=format:"%%Cred%%h%%Creset - %%C(bold blue)<%%an>%%Creset %%s %%Cgreen(%%cr)" --date=relative -10 --author=%%USERNAME%% $*
doskey branchlog=git log --pretty=format:"%%Cred%%h%%Creset - %%C(bold blue)<%%an>%%Creset %%s %%Cgreen(%%cr)" --date=relative -10
doskey stash=git stash save $*
doskey unstash=git stash pop $*
doskey stashes=git stash list $*
doskey lastchange=git whatchanged -m -n 1 -p $*
doskey changedfiles=git diff-tree --no-commit-id --name-only -r $*
doskey unpushed=git log @{u}..
doskey continuerebase=git rebase --continue $*
doskey whichbranch=git branch --contains $*
doskey np=notepad $*
doskey edit="%PROGRAMFILES(x86)%\Notepad++\notepad++.exe" $*
doskey skype="%PROGRAMFILES(x86)%\Skype\Phone\" $*
doskey gitex="%PROGRAMFILES(x86)%\GitExtensions\gitex.exe" $*
doskey devenv="%ProgramFiles(x86)%\Microsoft Visual Studio 12.0\Common7\IDE\devenv.exe"
doskey cf="C:\Users\yaelsa\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\CodeFlow\CodeFlow 2010.appref-ms"
doskey bc2="%ProgramFiles(x86)%\Beyond Compare 2\BC2.exe"
doskey sublime="%ProgramFiles%\Sublime Text 3\sublime_text.exe"
doskey odd="%ProgramFiles(x86)%\Odd\Odd.exe" -git
doskey gvim="%ProgramFiles(x86)%\Vim\vim74\gvim.exe"