Juhapekka ”naula” Tolvanen
juhtolv (at) iki (dot) fi
http://iki.fi/juhtolv/configs/shellrc/
Contents
MIT/X11-licence AKA “BSD-type licence without advertising clause”:
Copyright (C) 2000 Juhapekka Tolvanen
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL JUHAPEKKA TOLVANEN BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Except as contained in this notice, the name of Juhapekka Tolvanen shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from Juhapekka Tolvanen.
These files that are used for generation and conversion of this documentation, are public domain, as is said in the beginning of them:
This configuration also uses some stuff from other people and it may have different licencing:
A file called home/juhtolv/dot.logout.dir/amigashell.guru.txt was originally in a software called Amigashell (by Gürkan Sengün). I got it here:
http://www.linuks.mine.nu/amigashell/
IIRC author told me that file is under GNU GPL.
A file called home/juhtolv/dot.logout.dir/dopefish.txt is from this page and after that very much edited:
I got original debian-issue.sh this way:
http://lists.debian.org/debian-devel/2001/debian-devel-200107/msg00861.html
http://people.debian.org/~arthur/debian-issue.sh
After that I created two different versions of that. I still don’t know licence of them.
And last but not least:
Do not copy these configuration files over your original configuration files blindly. Just copy-paste things you really understand to your current configuration files. Or read all files very carefully until you understand every line, edit them where needed and and then copy them to right places.
Make some key-binding, menu entry, button of Gnome Panel etc. to invoke command like this, if you want to use Zsh as root, but do not dare to use Zsh as login shell of root:
rxvt -sb -ls -fg black -fg Yellow -geometry 80x70 -e su -c '/bin/zsh -l'
But nowadays my FVWM has this kind of command bound to some key binding:
uxterm -geometry 174x57+0+0 -e ${HOME}/scripts/mysu.sh &
Get linux_logo and Welcome2L here:
(But I do not use Welcome2L, anymore, because it looks ugly in Unicode-terminals.)
At least rxvt, Eterm and gnome-terminal can load background pixmaps. Cool background and icons for terminal running your root shell are available here: http://iki.fi/juhtolv/wmpix/root/
Here are some good configuration files for shells (and other programs, too):
There has been threads about shell prompts in Slashdot and Kuro5hin:
Folding is used in these files. folding.el is part of latest versions of XEmacs. If you are using GNU emacs or you do not have it because of some other reason, you can get it also here: http://www.csd.uu.se/~andersl/emacs.shtml . To use that kind of folding under Vim put this to your ~/.vimrc
set foldmethod=marker set foldcolumn=2
If there is a risk, that some old version of Vim can read that file, then use this instead:
if v:version >= 600 set foldmethod=marker set foldcolumn=2 endif
I converted some shellfunctions to stand-alone scripts, recently. They are available here:
http://iki.fi/juhtolv/hacks/sh/
Check out these directories:
- galeon
- latex
- musicplaying
- netscape
- pv
- systemmonitoring