docs
[mirrors/Programs.git] / bash / turbo.bash
1 #!/bin/bash
2 #Harvie's textmode work accelerator
3
4 echo -n 'Loading TurboBASH...';
5
6 #settings
7 SENSIBLE-EDITOR='/usr/bin/nano';
8 CC='/usr/bin/gcc';
9 CPP='/usr/bin/g++';
10
11 #fcs
12
13 ec() {
14 "$SENSIBLE-EDITOR" "$1".c;
15 "$CC" -o "$1" "$1".c;
16 }
17
18 ecpp() {
19 "$SENSIBLE-EDITOR" "$1".cpp;
20 "$CPP" -o "$1" "$1".cpp;
21 }
22
23
24 #EOF
25 echo ' [DONE]';
This page took 0.276161 seconds and 4 git commands to generate.