-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAlias.bat
48 lines (31 loc) · 1.12 KB
/
Alias.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
DOSKEY ali= notepad C:\Bin\Alias.bat
DOSKEY alif= cd C:\Bin
::DOSKEY res= exit ^& start cmd
::$T Command separator. Allows multiple commands in a macro.
::Some commands from Unix
DOSKEY ls=DIR $*
::DOSKEY cp=COPY $*
DOSKEY xcp=XCOPY $*
DOSKEY mv=MOVE $*
DOSKEY clear=CLS
DOSKEY h=DOSKEY /HISTORY
DOSKEY cp=chdir ^| clip
::Git shortcuts
DOSKEY gs=git status
::DOSKEY alias=if ".$*." == ".." ( DOSKEY /MACROS ) else ( DOSKEY $* )
::Template and Git files shortcuts
DOSKEY temp06=XCOPY/SHE "C:\Users\Bane\Desktop\Dev\Templates\Template 1.06" ^& rmdir/s/q .git ^& git init ^& git add . ^& git commit -m test ^& chdir ^| clip ^& start cmd ^& cd sass ^& cls ^& sass -w --style expanded main.scss
::Git shortcuts
DOSKEY gs=git status
DOSKEY gp=git push
DOSKEY ga= git add .
DOSKEY gc= git commit
DOSKEY gb= git branch
DOSKEY gl=git log --oneline --all --graph --decorate
:: Sass commands
DOSKEY sw=cd sass ^& sass -w --style expanded main.scss
DOSKEY swn=cd sass ^& start cmd ^& sass -w --style expanded main.scss
:: Sublime commands
DOSKEY subf=cd C:\Users\Bane\AppData\Roaming\Sublime Text 3
::Clears screen when loaded
cls