zsh_dots 0.5.9 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -24,3 +24,6 @@ rdoc
24
24
  spec/reports
25
25
  tmp
26
26
  vendor/ievms
27
+ config/*.zsh
28
+ etc/irssi/config
29
+ etc/irssi/nickserv.auth
data/config/gitconfig CHANGED
@@ -25,7 +25,10 @@
25
25
  new-fb = !git checkout master && git pull --rebase origin master && git checkout -b $2
26
26
  expose = !git sync && git push origin `git current-branch`
27
27
  pull-upstream = !git pull --rebase origin master && git checkout master
28
- to-master = !export GIT_BRANCH=`git current-branch` && git pull-upstream && git merge $GIT_BRANCH && git push origin master
28
+ to-master = !export GIT_BRANCH=`git current-branch` && git pull-upstream && git merge $GIT_BRANCH && git push origin master && git branch -D $GIT_BRANCH
29
+ ship = !git to-master
30
+ rename-branch = !export GIT_BRANCH=`git current-branch` && git checkout master && git branch -m $GIT_BRANCH $1
31
+ delete-branch = !export GIT_BRANCH=`git current-branch` && git checkout master && git branch -D $GIT_BRANCH
29
32
  [apply]
30
33
  whitespace = warn
31
34
  [color]
data/config/gitignore CHANGED
@@ -74,7 +74,6 @@ db/*.sqlite3
74
74
  public/system/*
75
75
  coverage/
76
76
  spec/tmp/*
77
- **.orig
78
77
 
79
78
  # Environment configuration
80
79
  .env
@@ -95,8 +94,11 @@ spec/reports
95
94
  test/tmp
96
95
  test/version_tmp
97
96
  tmp
97
+ # Binstubs
98
+ bin/
98
99
 
99
100
  # YARD artifacts
100
101
  .yardoc
101
102
  _yardoc
102
103
  doc/
104
+ bin/
@@ -0,0 +1,2 @@
1
+ # Loaded by the Heroku plugin, if installed.
2
+ export HEROKU_API_KEY=''
data/config/vimrc CHANGED
@@ -22,6 +22,7 @@ Bundle 'skwp/vim-rspec'
22
22
  Bundle 'tpope/vim-rails'
23
23
  Bundle 'sunaku/vim-ruby-shoulda-context'
24
24
  Bundle 'vim-scripts/nginx.vim'
25
+ Bundle 'leshill/vim-json'
25
26
 
26
27
  " Tools
27
28
  Bundle 'tpope/vim-fugitive'
@@ -270,14 +271,38 @@ function! AlternateForCurrentFile()
270
271
  let current_file = expand("%")
271
272
  let new_file = current_file
272
273
  let in_spec = match(current_file, '^spec/') != -1
273
- let going_to_spec_or_test = !in_spec
274
+ let in_test = match(current_file, '^test/') != -1
275
+ let using_test_unit = isdirectory('./test')
276
+
277
+ if using_test_unit
278
+ let going_to_spec = !in_spec
279
+ else
280
+ let going_to_spec = !in_test
281
+ endif
274
282
  let in_app = match(current_file, '\<controllers\>') != -1 || match(current_file, '\<models\>') != -1 || match(current_file, '\<views\>') != -1 || match(current_file, '\<helpers\>') != -1
283
+
275
284
  if going_to_spec
276
285
  if in_app
277
286
  let new_file = substitute(new_file, '^app/', '', '')
278
287
  end
288
+
279
289
  let new_file = substitute(new_file, '\.rb$', '_spec.rb', '')
280
290
  let new_file = 'spec/' . new_file
291
+
292
+ if using_test_unit
293
+ let new_file = substitute(new_file, '^spec/', 'test/', '')
294
+ let new_file = substitute(new_file, '_spec\.rb$', '_test.rb', '')
295
+ let is_unit = match(new_file, 'models') != -1
296
+ let is_func = match(new_file, 'controllers') != -1
297
+
298
+ if is_unit
299
+ let new_file = substitute(new_file, 'models', 'unit', '')
300
+ endif
301
+
302
+ if is_func
303
+ let new_file = substitute(new_file, 'controllers', 'functional', '')
304
+ endif
305
+ end
281
306
  else
282
307
  let new_file = substitute(new_file, '_spec\.rb$', '.rb', '')
283
308
  let new_file = substitute(new_file, '^spec/', '', '')
@@ -285,6 +310,7 @@ function! AlternateForCurrentFile()
285
310
  let new_file = 'app/' . new_file
286
311
  end
287
312
  endif
313
+
288
314
  return new_file
289
315
  endfunction
290
316
  nnoremap <leader>. :call OpenTestAlternate()<cr>
data/config/zshenv CHANGED
@@ -8,22 +8,26 @@ ZSH=$HOME/.dots
8
8
  DOTS=$ZSH
9
9
 
10
10
  # Domain-specific PATHs.
11
- RBPATH=/usr/local/lib/ruby/gems/1.9.1/bin:/usr/local/Cellar/ruby/1.9.3-p327/bin
11
+ RBPATH=/usr/local/lib/ruby/gems/1.9.1/bin:/usr/local/Cellar/ruby/1.9.3-p362/bin
12
12
  JSPATH=node_modules/.bin:/usr/local/share/npm/bin
13
- PYPATH=/usr/local/Cellar/python/2.7.3/bin
13
+ PYPATH=/usr/local/Cellar/python/2.7.3/bin:/usr/local/share/python
14
14
  GOPATH=$HOME/Code/Go
15
15
  PGPATH=/Applications/Postgres.app/Contents/MacOS/bin
16
+ MLPATH=/usr/local/Cellar/smlnj/110.75/libexec/bin
16
17
  MANPATH=/opt/local/share/man:$MANPATH
17
18
  HEROKU_PATH="/usr/local/heroku/bin"
18
19
  CPATH=/usr/local/bin:/usr/local/sbin:/usr/local/git/bin:/usr/bin:$HOME/bin
19
20
 
20
21
  # Global PATH, the variable that really matters
21
- PATH=$PGPATH:$RBPATH:$CPATH:$PYPATH:$PATH
22
+ PATH=$PGPATH:$RBPATH:$CPATH:$PYPATH:$MLPATH:$PATH
22
23
 
23
24
  # Text editing and paging
24
25
  EDITOR='vim'
25
26
  PAGER='less -R'
26
27
 
28
+ # Email reading
29
+ MAIL=/var/mail/$USER
30
+
27
31
  # A more basic version of my promptstring for non-interactive shells.
28
32
  PROMPT="♬ "
29
33
 
@@ -0,0 +1,230 @@
1
+ servers = (
2
+ {
3
+ address = "psychedeli.ca";
4
+ chatnet = "flowdock";
5
+ port = "1337";
6
+ password = "";
7
+ autoconnect = "yes";
8
+ },
9
+ {
10
+ address = "psychedeli.ca";
11
+ chatnet = "freenode";
12
+ port = "1338";
13
+ password = "";
14
+ autoconnect = "yes";
15
+ }
16
+ );
17
+
18
+ chatnets = {
19
+ freenode = {
20
+ type = "IRC";
21
+ max_kicks = "1";
22
+ max_msgs = "3";
23
+ max_whois = "30";
24
+ };
25
+ flowdock = { type = "IRC"; };
26
+ };
27
+
28
+ channels = (
29
+ { name = "#elocal/main"; chatnet = "flowdock"; autojoin = "Yes"; },
30
+ { name = "#callahans"; chatnet = "freenode"; autojoin = "Yes"; },
31
+ { name = "#philly.rb"; chatnet = "freenode"; autojoin = "Yes"; },
32
+ { name = "#diaspora"; chatnet = "freenode"; autojoin = "Yes"; },
33
+ { name = "#diaspora-dev"; chatnet = "freenode"; autojoin = "Yes"; },
34
+ {
35
+ name = "#rubyonrails-offtopic";
36
+ chatnet = "freenode";
37
+ autojoin = "yes";
38
+ }
39
+ );
40
+
41
+ aliases = {
42
+ J = "join";
43
+ WJOIN = "join -window";
44
+ WQUERY = "query -window";
45
+ LEAVE = "part";
46
+ BYE = "quit";
47
+ EXIT = "quit";
48
+ SIGNOFF = "quit";
49
+ DESCRIBE = "action";
50
+ DATE = "time";
51
+ HOST = "userhost";
52
+ LAST = "lastlog";
53
+ SAY = "msg *";
54
+ WI = "whois";
55
+ WII = "whois $0 $0";
56
+ WW = "whowas";
57
+ W = "window";
58
+ N = "names";
59
+ M = "msg";
60
+ T = "topic";
61
+ C = "clear";
62
+ CL = "clear";
63
+ K = "kick";
64
+ KB = "kickban";
65
+ KN = "knockout";
66
+ BANS = "ban";
67
+ B = "ban";
68
+ MUB = "unban *";
69
+ UB = "unban";
70
+ IG = "ignore";
71
+ UNIG = "unignore";
72
+ SB = "scrollback";
73
+ UMODE = "mode $N";
74
+ WC = "window close";
75
+ WN = "window new hide";
76
+ SV = "say Irssi $J ($V) - http://irssi.org/";
77
+ GOTO = "sb goto";
78
+ CHAT = "dcc chat";
79
+ RUN = "SCRIPT LOAD";
80
+ CALC = "exec - if command -v bc >/dev/null 2>&1\\; then printf '%s=' '$*'\\; echo '$*' | bc -l\\; else echo bc was not found\\; fi";
81
+ SBAR = "STATUSBAR";
82
+ INVITELIST = "mode $C +I";
83
+ Q = "QUERY";
84
+ "MANUAL-WINDOWS" = "set use_status_window off;set autocreate_windows off;set autocreate_query_level none;set autoclose_windows off;set reuse_unused_windows on;save";
85
+ EXEMPTLIST = "mode $C +e";
86
+ ATAG = "WINDOW SERVER";
87
+ UNSET = "set -clear";
88
+ RESET = "set -default";
89
+ hideadd = "eval set activity_hide_targets $activity_hide_targets $-";
90
+ };
91
+
92
+ statusbar = {
93
+ # formats:
94
+ # when using {templates}, the template is shown only if it's argument isn't
95
+ # empty unless no argument is given. for example {sb} is printed always,
96
+ # but {sb $T} is printed only if $T isn't empty.
97
+
98
+ items = {
99
+ # Solarized
100
+ lag = "{sb Lag: $0-}";
101
+ act = "{sb Act: $0-}";
102
+ more = "-- more --";
103
+
104
+ # start/end text in statusbars
105
+ barstart = "{sbstart}";
106
+ barend = "{sbend}";
107
+
108
+ topicbarstart = "{topicsbstart}";
109
+ topicbarend = "{topicsbend}";
110
+
111
+ # treated "normally", you could change the time/user name to whatever
112
+ time = "{sb $Z}";
113
+ user = "{sb {sbnickmode $cumode}$N{sbmode $usermode}{sbaway $A}}";
114
+
115
+ # treated specially .. window is printed with non-empty windows,
116
+ # window_empty is printed with empty windows
117
+ window = "{sb $winref:$tag/$itemname{sbmode $M}}";
118
+ window_empty = "{sb $winref{sbservertag $tag}}";
119
+ prompt = "{prompt $[.15]itemname}";
120
+ prompt_empty = "{prompt $winname}";
121
+ topic = " $topic";
122
+ topic_empty = " Irssi v$J - http://www.irssi.org";
123
+
124
+ # all of these treated specially, they're only displayed when needed
125
+ };
126
+
127
+ # there's two type of statusbars. root statusbars are either at the top
128
+ # of the screen or at the bottom of the screen. window statusbars are at
129
+ # the top/bottom of each split window in screen.
130
+ default = {
131
+ # the "default statusbar" to be displayed at the bottom of the window.
132
+ # contains all the normal items.
133
+ window = {
134
+ disabled = "no";
135
+
136
+ # window, root
137
+ type = "window";
138
+ # top, bottom
139
+ placement = "bottom";
140
+ # number
141
+ position = "1";
142
+ # active, inactive, always
143
+ visible = "active";
144
+
145
+ # list of items in statusbar in the display order
146
+ items = {
147
+ barstart = { priority = "100"; };
148
+ time = { };
149
+ user = { };
150
+ window = { };
151
+ window_empty = { };
152
+ lag = { priority = "-1"; };
153
+ act = { priority = "10"; };
154
+ more = { priority = "-1"; alignment = "right"; };
155
+ barend = { priority = "100"; alignment = "right"; };
156
+ };
157
+ };
158
+
159
+ # statusbar to use in inactive split windows
160
+ window_inact = {
161
+ type = "window";
162
+ placement = "bottom";
163
+ position = "1";
164
+ visible = "inactive";
165
+ items = {
166
+ barstart = { priority = "100"; };
167
+ window = { };
168
+ window_empty = { };
169
+ more = { priority = "-1"; alignment = "right"; };
170
+ barend = { priority = "100"; alignment = "right"; };
171
+ };
172
+ };
173
+
174
+ # we treat input line as yet another statusbar :) It's possible to
175
+ # add other items before or after the input line item.
176
+ prompt = {
177
+ type = "root";
178
+ placement = "bottom";
179
+ # we want to be at the bottom always
180
+ position = "100";
181
+ visible = "always";
182
+ items = {
183
+ prompt = { priority = "-1"; };
184
+ prompt_empty = { priority = "-1"; };
185
+ # treated specially, this is the real input line.
186
+ input = { priority = "10"; };
187
+ };
188
+ };
189
+
190
+ # topicbar
191
+ topic = {
192
+ type = "root";
193
+ placement = "top";
194
+ position = "1";
195
+ visible = "always";
196
+ items = {
197
+ topicbarstart = { priority = "100"; };
198
+ topic = { };
199
+ topic_empty = { };
200
+ topicbarend = { priority = "100"; alignment = "right"; };
201
+ };
202
+ };
203
+ };
204
+ };
205
+ settings = {
206
+ core = {
207
+ real_name = "http://psychedeli.ca";
208
+ user_name = "tubbo";
209
+ nick = "tubbo";
210
+ };
211
+ "fe-text" = { actlist_sort = "refnum"; };
212
+ "fe-common/core" = {
213
+ theme = "solarized-universal";
214
+ hilight_color = "= %R";
215
+ activity_hide_targets = " #irssi #diaspora-dev #rubyonrails #rubyonrails #philly.rb";
216
+ };
217
+ };
218
+ ignores = (
219
+ { level = "JOINS PARTS QUITS MODES"; channels = ( "#diaspora" ); },
220
+ {
221
+ level = "JOINS PARTS QUITS MODES";
222
+ channels = ( "#diaspora-dev" );
223
+ },
224
+ {
225
+ level = "JOINS PARTS QUITS MODES";
226
+ channels = ( "#rubyonrails" );
227
+ },
228
+ { level = "JOINS PARTS QUITS MODES"; channels = ( "#philly.rb" ); },
229
+ { mask = "melisaa"; level = "ALL"; }
230
+ );
@@ -0,0 +1,294 @@
1
+ # When testing changes, the easiest way to reload the theme is with /RELOAD.
2
+ # This reloads the configuration file too, so if you did any changes remember
3
+ # to /SAVE it first. Remember also that /SAVE overwrites the theme file with
4
+ # old data so keep backups :)
5
+
6
+ # TEMPLATES:
7
+
8
+ # The real text formats that irssi uses are the ones you can find with
9
+ # /FORMAT command. Back in the old days all the colors and texts were mixed
10
+ # up in those formats, and it was really hard to change the colors since you
11
+ # might have had to change them in tens of different places. So, then came
12
+ # this templating system.
13
+
14
+ # Now the /FORMATs don't have any colors in them, and they also have very
15
+ # little other styling. Most of the stuff you need to change is in this
16
+ # theme file. If you can't change something here, you can always go back
17
+ # to change the /FORMATs directly, they're also saved in these .theme files.
18
+
19
+ # So .. the templates. They're those {blahblah} parts you see all over the
20
+ # /FORMATs and here. Their usage is simply {name parameter1 parameter2}.
21
+ # When irssi sees this kind of text, it goes to find "name" from abstracts
22
+ # block below and sets "parameter1" into $0 and "parameter2" into $1 (you
23
+ # can have more parameters of course). Templates can have subtemplates.
24
+ # Here's a small example:
25
+ # /FORMAT format hello {colorify {underline world}}
26
+ # abstracts = { colorify = "%G$0-%n"; underline = "%U$0-%U"; }
27
+ # When irssi expands the templates in "format", the final string would be:
28
+ # hello %G%Uworld%U%n
29
+ # ie. underlined bright green "world" text.
30
+ # and why "$0-", why not "$0"? $0 would only mean the first parameter,
31
+ # $0- means all the parameters. With {underline hello world} you'd really
32
+ # want to underline both of the words, not just the hello (and world would
33
+ # actually be removed entirely).
34
+
35
+ # COLORS:
36
+
37
+ # You can find definitions for the color format codes in docs/formats.txt.
38
+
39
+ # There's one difference here though. %n format. Normally it means the
40
+ # default color of the terminal (white mostly), but here it means the
41
+ # "reset color back to the one it was in higher template". For example
42
+ # if there was /FORMAT test %g{foo}bar, and foo = "%Y$0%n", irssi would
43
+ # print yellow "foo" (as set with %Y) but "bar" would be green, which was
44
+ # set at the beginning before the {foo} template. If there wasn't the %g
45
+ # at start, the normal behaviour of %n would occur. If you _really_ want
46
+ # to use the terminal's default color, use %N.
47
+
48
+ #############################################################################
49
+
50
+ # default foreground color (%N) - -1 is the "default terminal color"
51
+ default_color = "-1";
52
+
53
+ # print timestamp/servertag at the end of line, not at beginning
54
+ info_eol = "false";
55
+
56
+ # these characters are automatically replaced with specified color
57
+ # (dark grey by default)
58
+ replaces = { "[]=" = "%K$*%n"; };
59
+
60
+ abstracts = {
61
+ ##
62
+ ## generic
63
+ ##
64
+
65
+ # text to insert at the beginning of each non-message line
66
+ line_start = "%B-%n!%B-%n ";
67
+
68
+ # timestamp styling, nothing by default
69
+ timestamp = "$*";
70
+
71
+ # any kind of text that needs hilighting, default is to bold
72
+ hilight = "%_$*%_";
73
+
74
+ # any kind of error message, default is bright red
75
+ error = "%R$*%n";
76
+
77
+ # channel name is printed
78
+ channel = "%_$*%_";
79
+
80
+ # nick is printed
81
+ nick = "%_$*%_";
82
+
83
+ # nick host is printed
84
+ nickhost = "[$*]";
85
+
86
+ # server name is printed
87
+ server = "%_$*%_";
88
+
89
+ # some kind of comment is printed
90
+ comment = "[$*]";
91
+
92
+ # reason for something is printed (part, quit, kick, ..)
93
+ reason = "{comment $*}";
94
+
95
+ # mode change is printed ([+o nick])
96
+ mode = "{comment $*}";
97
+
98
+ ##
99
+ ## channel specific messages
100
+ ##
101
+
102
+ # highlighted nick/host is printed (joins)
103
+ channick_hilight = "%C$*%n";
104
+ chanhost_hilight = "{nickhost %c$*%n}";
105
+
106
+ # nick/host is printed (parts, quits, etc.)
107
+ channick = "%c$*%n";
108
+ chanhost = "{nickhost $*}";
109
+
110
+ # highlighted channel name is printed
111
+ channelhilight = "%c$*%n";
112
+
113
+ # ban/ban exception/invite list mask is printed
114
+ ban = "%c$*%n";
115
+
116
+ ##
117
+ ## messages
118
+ ##
119
+
120
+ # the basic styling of how to print message, $0 = nick mode, $1 = nick
121
+ msgnick = "%K<%n$0$1-%K>%n %|";
122
+
123
+ # message from you is printed. "msgownnick" specifies the styling of the
124
+ # nick ($0 part in msgnick) and "ownmsgnick" specifies the styling of the
125
+ # whole line.
126
+
127
+ # Example1: You want the message text to be green:
128
+ # ownmsgnick = "{msgnick $0 $1-}%g";
129
+ # Example2.1: You want < and > chars to be yellow:
130
+ # ownmsgnick = "%Y{msgnick $0 $1-%Y}%n";
131
+ # (you'll also have to remove <> from replaces list above)
132
+ # Example2.2: But you still want to keep <> grey for other messages:
133
+ # pubmsgnick = "%K{msgnick $0 $1-%K}%n";
134
+ # pubmsgmenick = "%K{msgnick $0 $1-%K}%n";
135
+ # pubmsghinick = "%K{msgnick $1 $0$2-%n%K}%n";
136
+ # ownprivmsgnick = "%K{msgnick $*%K}%n";
137
+ # privmsgnick = "%K{msgnick %R$*%K}%n";
138
+
139
+ # $0 = nick mode, $1 = nick
140
+ ownmsgnick = "{msgnick $0 $1-}";
141
+ ownnick = "%_$*%n";
142
+
143
+ # public message in channel, $0 = nick mode, $1 = nick
144
+ pubmsgnick = "{msgnick $0 $1-}";
145
+ pubnick = "%N$*%n";
146
+
147
+ # public message in channel meant for me, $0 = nick mode, $1 = nick
148
+ pubmsgmenick = "{msgnick $0 $1-}";
149
+ menick = "%Y$*%n";
150
+
151
+ # public highlighted message in channel
152
+ # $0 = highlight color, $1 = nick mode, $2 = nick
153
+ pubmsghinick = "{msgnick $1 $0$2-%n}";
154
+
155
+ # channel name is printed with message
156
+ msgchannel = "%K:%c$*%n";
157
+
158
+ # private message, $0 = nick, $1 = host
159
+ privmsg = "[%R$0%K(%r$1-%K)%n] ";
160
+
161
+ # private message from you, $0 = "msg", $1 = target nick
162
+ ownprivmsg = "[%r$0%K(%R$1-%K)%n] ";
163
+
164
+ # own private message in query
165
+ ownprivmsgnick = "{msgnick $*}";
166
+ ownprivnick = "%_$*%n";
167
+
168
+ # private message in query
169
+ privmsgnick = "{msgnick %R$*%n}";
170
+
171
+ ##
172
+ ## Actions (/ME stuff)
173
+ ##
174
+
175
+ # used internally by this theme
176
+ action_core = "%_ * $*%n";
177
+
178
+ # generic one that's used by most actions
179
+ action = "{action_core $*} ";
180
+
181
+ # own action, both private/public
182
+ ownaction = "{action $*}";
183
+
184
+ # own action with target, both private/public
185
+ ownaction_target = "{action_core $0}%K:%c$1%n ";
186
+
187
+ # private action sent by others
188
+ pvtaction = "%_ (*) $*%n ";
189
+ pvtaction_query = "{action $*}";
190
+
191
+ # public action sent by others
192
+ pubaction = "{action $*}";
193
+
194
+
195
+ ##
196
+ ## other IRC events
197
+ ##
198
+
199
+ # whois
200
+ whois = "%# $[8]0 : $1-";
201
+
202
+ # notices
203
+ ownnotice = "[%r$0%K(%R$1-%K)]%n ";
204
+ notice = "%K-%M$*%K-%n ";
205
+ pubnotice_channel = "%K:%m$*";
206
+ pvtnotice_host = "%K(%m$*%K)";
207
+ servernotice = "%g!$*%n ";
208
+
209
+ # CTCPs
210
+ ownctcp = "[%r$0%K(%R$1-%K)] ";
211
+ ctcp = "%g$*%n";
212
+
213
+ # wallops
214
+ wallop = "%_$*%n: ";
215
+ wallop_nick = "%n$*";
216
+ wallop_action = "%_ * $*%n ";
217
+
218
+ # netsplits
219
+ netsplit = "%R$*%n";
220
+ netjoin = "%C$*%n";
221
+
222
+ # /names list
223
+ names_prefix = "";
224
+ names_nick = "[%_$0%_$1-] ";
225
+ names_nick_op = "{names_nick $*}";
226
+ names_nick_halfop = "{names_nick $*}";
227
+ names_nick_voice = "{names_nick $*}";
228
+ names_users = "[%g$*%n]";
229
+ names_channel = "%G$*%n";
230
+
231
+ # DCC
232
+ dcc = "%g$*%n";
233
+ dccfile = "%_$*%_";
234
+
235
+ # DCC chat, own msg/action
236
+ dccownmsg = "[%r$0%K($1-%K)%n] ";
237
+ dccownnick = "%R$*%n";
238
+ dccownquerynick = "%_$*%n";
239
+ dccownaction = "{action $*}";
240
+ dccownaction_target = "{action_core $0}%K:%c$1%n ";
241
+
242
+ # DCC chat, others
243
+ dccmsg = "[%G$1-%K(%g$0%K)%n] ";
244
+ dccquerynick = "%G$*%n";
245
+ dccaction = "%_ (*dcc*) $*%n %|";
246
+
247
+ ##
248
+ ## statusbar
249
+ ##
250
+
251
+ # default background for all statusbars. You can also give
252
+ # the default foreground color for statusbar items.
253
+ sb_background = "%4%w";
254
+
255
+ # default backround for "default" statusbar group
256
+ #sb_default_bg = "%4";
257
+ # background for prompt / input line
258
+ sb_prompt_bg = "%n";
259
+ # background for info statusbar
260
+ sb_info_bg = "%8";
261
+ # background for topicbar (same default)
262
+ #sb_topic_bg = "%4";
263
+
264
+ # text at the beginning of statusbars. sb-item already puts
265
+ # space there,so we don't use anything by default.
266
+ sbstart = "";
267
+ # text at the end of statusbars. Use space so that it's never
268
+ # used for anything.
269
+ sbend = " ";
270
+
271
+ topicsbstart = "{sbstart $*}";
272
+ topicsbend = "{sbend $*}";
273
+
274
+ prompt = "[$*] ";
275
+
276
+ sb = " %c[%n$*%c]%n";
277
+ sbmode = "(%c+%n$*)";
278
+ sbaway = " (%GzZzZ%n)";
279
+ sbservertag = ":$0 (change with ^X)";
280
+ sbnickmode = "$0";
281
+
282
+ # activity in statusbar
283
+
284
+ # ',' separator
285
+ sb_act_sep = "%c$*";
286
+ # normal text
287
+ sb_act_text = "%c$*";
288
+ # public message
289
+ sb_act_msg = "%W$*";
290
+ # hilight
291
+ sb_act_hilight = "%M$*";
292
+ # hilight with specified color, $0 = color, $1 = text
293
+ sb_act_hilight_color = "$0$1-%n";
294
+ };