forked from stormofice/sp-custom-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bashrc
More file actions
33 lines (27 loc) · 762 Bytes
/
.bashrc
File metadata and controls
33 lines (27 loc) · 762 Bytes
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
localuser=$USER
alias l='ls -ahl'
alias cm='cd /proj/i4sp1/$localuser/'
alias ct='cd /proj/i4sp1/$localuser/trunk/'
alias cb='cd /proj/i4sp1/$localuser/branches/'
alias nano='nano -l'
alias nb='nano ~/.bashrc'
alias sc='source ~/.bashrc'
alias sv='svn log -l5 -v https://i4sp.cs.fau.de/ss21/sp1/$localuser'
alias memcheck=memtest
# run valgrind with best settings
memtest() {
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes "$@"
}
#run gcc with recommended settings
compile() {
gcc -std=c11 -pedantic -Wall -Werror -D_XOPEN_SOURCE=700 -o "$@";
}
deadline() {
/proj/i4sp1/bin/get-deadline "$@";
}
submit() {
/proj/i4sp1/bin/submit "$@";
}
copy() {
/proj/i4sp1/bin/copy-public-files-for "$@";
}