]> mj.ucw.cz Git - moe.git/commitdiff
New template files.
authorMartin Mares <mj@ucw.cz>
Fri, 11 Apr 2003 09:53:08 +0000 (09:53 +0000)
committerMartin Mares <mj@ucw.cz>
Fri, 11 Apr 2003 09:53:08 +0000 (09:53 +0000)
template/.bash_logout [new file with mode: 0644]
template/.bash_profile [new file with mode: 0644]
template/.bashrc [new file with mode: 0644]

diff --git a/template/.bash_logout b/template/.bash_logout
new file mode 100644 (file)
index 0000000..926eddc
--- /dev/null
@@ -0,0 +1,3 @@
+# ~/.bash_logout
+
+clear
diff --git a/template/.bash_profile b/template/.bash_profile
new file mode 100644 (file)
index 0000000..bf511ac
--- /dev/null
@@ -0,0 +1,30 @@
+# .bash_profile
+
+# Get the aliases and functions
+if [ -f ~/.bashrc ]; then
+       . ~/.bashrc
+fi
+
+# User specific environment and startup programs
+
+PATH=$PATH:$HOME/bin
+
+export PATH
+unset USERNAME
+
+# MO stuff
+
+cat <<EOF
+
+Uzitecne prikazy:
+'rhide' - spusti vyvojove prostredi pro C/C++
+'mc' - spusti program pro praci se soubory (podobny Norton Commanderu)
+'compile <uloha>' - zkompiluje ulohu <uloha> se stejnymi parametry kompilatoru,
+  s jakymi bude vas program kompilovan pri testovani
+'check <uloha>' - spusti vase reseni ulohy <uloha> na vzorovy vstup a vypise, zda vas program
+  dal spravny vystup
+'submit <uloha>' - odesle zdrojovy text programu pro ulohu <uloha> k vyhodnoceni
+
+EOF
+export MO_PUBLIC=/aux/mo/public
+PATH=$PATH:$MO_PUBLIC/bin:.
diff --git a/template/.bashrc b/template/.bashrc
new file mode 100644 (file)
index 0000000..9271cff
--- /dev/null
@@ -0,0 +1,8 @@
+# .bashrc
+
+# User specific aliases and functions
+
+# Source global definitions
+if [ -f /etc/bashrc ]; then
+       . /etc/bashrc
+fi