Skip to content

cgestes/ctafconf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

                   --+-- -- -- -- -- -- --+--
                  +--       CTAFCONF       --+
                   --+-- -- -- -- -- -- --+--



===========================================================
INSTALL
===========================================================
the ctafconf should be installed in ~/.config/ctafconf.
Installation should be done using the git repository,
if you dont have git access you can get a tarball on github.
Always prefer git master, the branch is keept as stable as possible.
After calling ct-installconf, edit user-profile.sh to change your settings.


Prefered way to install, from GIT:
> mkdir .config
> cd .config
> git clone git://github.com/ctaf42/ctafconf.git
> cd ctafconf/bin
> ./ct-installconf
> nano ~/.config/ctafconf/user-profile.sh

Install from a tarball.
 you download the tarball from the website and unpack it in .config
> mkdir .config
> cd .config
> tar xvzf ctafconf-DATE.tgz
> cd ctafconf/bin
> ./ct-installconf
> nano ~/.config/ctafconf/user-profile.sh


===========================================================
UPDATE
===========================================================
To update your configuration just call git pull, or extract newer file over the previous one.
That's all, you dont need to call ct-installconf or ct-updateconf, it's automatic

Using git:
>cd .config/ctafconf
>git pull
That's all, the next time you launch your shell, the ctafconf will be updated

using a newer tarball:
unpack the tarball in .config
>cd .config/
>tar xvzf ctafconf-DATE.tgz


==========================================================
INSTALL FOR EMACS ONLY
==========================================================
if you are paranoid, and dont trust the install script.
Try the manual way to get the emacs configuration:
>echo "(load-file \"~/.config/ctafconf/etc/emacs/emacs\")" >> ~/.emacs


===========================================================
VIM
===========================================================
See ~/.config/ctafconf/etc/vim/README



===========================================================
ZSH
===========================================================
- ctrl-c in completion menu go back to the text previously enterred
- up/down search through history (start typing then up/down to see what i mean)
- pageup/pagedown cycle through history (it does not care about what is already on the command line)
- ctrl-x h call the man for the first word on the command line
- ctrl-x e edit the current command line in your editor
- ctrl-x w display the location of the current command
- ctrl-x c calculator

===========================================================
UNINSTALL
===========================================================
You will never want to uninstall, after you tried the ctafconf

===========================================================
HELP
===========================================================
It's a good framework to create our own personnal configuration

ct-ssh        : create alias for ssh host
findr         : recursive find
grepr         : recursive grep with color
rpurge        : cleanup temporary file (#*, *~)
rpurge_c      : cleanup c compiled object (*.o)
rpurge_cmake  : cleanup cmake generated makefiles (Makefile, CMakeCache.txt, ..)
rpurge_svn    : cleanup svn files (.svn)
rpurge_python : cleanup python files (*.pyc, *.pyo)
rpurge_cvs    : cleanup cvs files (.cvs)
replacer      : recursive find and replace in all files in the current folder

visit http://www.ctaf.free.fr for more information/help about the ctafconf

===========================================================
Credits
===========================================================
Some of thoses configurations files have been collected, modified
and enhanced from a lot's of files from differents places.
thanks for all peoples who share configs on the web.
--
thanks for Sergio Talens-Oliag <sto@debian.org> for his ssft library
thanks for all people I 'stolen' GPL code ;-)


===========================================================
About
===========================================================
Cedric GESTES (ctaf42@gmail.com)
http://www.sf.net/projects/grk
http://grk.sf.net
http://www.ctaf.free.fr

 _____________________________________
< CTAFCONF? yuhh? MeuuuuuuuuuHHHHHHHH >
 -------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||