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