-
Notifications
You must be signed in to change notification settings - Fork 7
/
README
127 lines (102 loc) · 4.35 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
--+-- -- -- -- -- -- --+--
+-- 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 <[email protected]> for his ssft library
thanks for all people I 'stolen' GPL code ;-)
===========================================================
About
===========================================================
Cedric GESTES ([email protected])
http://www.sf.net/projects/grk
http://grk.sf.net
http://www.ctaf.free.fr
_____________________________________
< CTAFCONF? yuhh? MeuuuuuuuuuHHHHHHHH >
-------------------------------------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||