-
Notifications
You must be signed in to change notification settings - Fork 2
/
bash_profile
72 lines (60 loc) · 2.49 KB
/
bash_profile
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
60
61
62
63
64
65
66
67
68
69
70
71
# base-files version 4.2-3
# source the users bashrc if it exists
if [ -f "${HOME}/.bashrc" ] ; then
source "${HOME}/.bashrc"
fi
for DOTFILE in `find ~/.dotfiles/bash/*.bash`; do
[ -f "$DOTFILE" ] && source "$DOTFILE"
done
alias repos='cd /d/repos/ > /dev/null 2>&1 || cd /mnt/c/repos/'
alias issues='cd /d/issues/'
alias ..='cd ..'
alias roslyn-build='MSBuild.exe /v:m /m Roslyn.sln'
alias compiler-build='MSBuild.exe /v:m /m Compilers.sln'
alias roslyn-test='MSBuild.exe /v:m /m /t:test BuildAndTest.proj'
alias roslyn-restore='chmod +x Restore.cmd && ./Restore.cmd && git checkout Restore.cmd'
alias roslyn-ide='devenv.exe /rootsuffix RoslynDev'
alias :q=exit
alias ildasm='/c/Program\ Files\ \(x86\)/Microsoft\ SDKs/Windows/v10.0A/bin/NETFX\ 4.6.1\ Tools/ildasm.exe'
alias :qa!='screen -X "quit"'
alias :qa='echo "Confirm with :qa!"'
alias msbuild='MSBuild.exe'
alias csc-roslyn4='/d/repos/roslyn4/Binaries/Debug/Exes/csc/csc.exe'
alias csc-roslyn3='/d/repos/roslyn3/Binaries/Debug/Exes/csc/csc.exe'
alias csc-roslyn2='/d/repos/roslyn2/Binaries/Debug/Exes/csc/csc.exe'
alias csc-roslyn='/home/jcouv/repos/roslyn/Binaries/Debug/Exes/csc/csc.exe'
alias csc-native='/c/Windows/Microsoft.NET/Framework/v4.0.30319/csc.exe'
alias csc-vs='/c/Program\ Files\ \(x86\)/MSBuild/14.0/Bin/csc.exe'
alias vbc-roslyn3='/d/repos/roslyn3/Binaries/Debug/vbc.exe'
alias vbc-roslyn2='/d/repos/roslyn2/Binaries/Debug/vbc.exe'
alias vbc-roslyn='/d/repos/roslyn/Binaries/Debug/vbc.exe'
alias vbc-native='/c/Windows/Microsoft.NET/Framework/v4.0.30319/vbc.exe'
alias vbc-vs='/c/Program\ Files\ \(x86\)/MSBuild/14.0/Bin/vbc.exe'
alias ilspy='/c/Users/jcouv/bin/ILSpy/ILSpy.exe'
alias fuslogvw='/c/Program\ Files\ \(x86\)/Microsoft\ SDKs/Windows/v10.0A/bin/NETFX\ 4.6.1\ Tools/FUSLOGVW.exe'
alias windbg='/c/Program\ Files\ \(x86\)/Debugging\ Tools\ for\ Windows\ \(x86\)/windbg.exe'
alias perfview='//clrmain/tools/PerfView.exe'
alias g='git'
alias gd='git diff'
alias gdc='git diff --cached'
alias gs='git status'
alias start='cygstart'
#alias start='cmd.exe /c start'
# Key bindings to manipulate screen in bash vi-mode
# bind -x specifies commands to execute in the background
bind -m vi -x '"t":"screen -X screen"'
bind -m vi -x '"J":"screen -X prev"'
bind -m vi -x '"K":"screen -X next"'
function do_git {
cmd=$1
shift
extra=""
if [ "$cmd" == "add" ]; then
extra="-v"
elif [ "$cmd" == "rm" ]; then
extra="--cached"
fi
"`which git`" "$cmd" "$extra" "$@"
}
#alias git='do_git'
export PERL5LIB=/usr/lib/perl5/vendor_perl/5.22