-
Notifications
You must be signed in to change notification settings - Fork 4
/
TODO
55 lines (37 loc) · 1.44 KB
/
TODO
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
FOR 2.0
[core] conditional templates
Not sure if the conditions should be handled by prwd or externally.
This is an example configuration:
if (hostname == "lab") {
template = "{foo}:{bar}"
}
And another, based on context:
Context AtWork
Hostname lab
Domain truveris
Template {foo}:{bar}
Maybe template could be laid vertically:
template in vcs {
date
space
hostname
branch
optional :
path -l 24
uid
space
}
User can define conditions based on UID, username, repo, path,
date/time, una,e, os, etc.
[cmd] Add an ${exec whoami} command. Even if bound to be abused.
[branch] add a max size and filler, like path.
FOR LATER
[alias] Load all the environment variables starting with '/' and resolving to existing path as aliases.
[alias] Properly escape the exports in dump_alias_vars in order to work with space folders.
[ui] if prwd's argv[0] is different, call the internal funcs.
[core] deprecate config flags
[core] allow user to access env variables
AUDIT
review all the uses of sizeof on wchar buffers (need to be divided).
all the calls to mbstowcs and vice-versa should be audited, maybe wrappers should be written...
vim: expandtab ts=4 sw=4