## ENVIRONMENT
-* `XPICKTITLE`:
+* `PICKTITLE`:
If this variable is set its contents are used to populate the status region
of the `pick` window.
#ifndef TEST
int main(int argc, char** argv) {
- char* title = getenv("XPICKTITLE");
+ char* title = getenv("PICKTITLE");
load_choices();
if (vec_size(&Choices) > 1) {
win_dialog("pick", onerror);
exit 1
fi
-export XPICKTITLE="Pick File ($PWD)"
+export PICKTITLE="Pick File ($PWD)"
find $1 -not -path '*/\.*' -type f | sed "s|^\./||" | pick
' "$TAGFILE" | /bin/sh | pick
}
-export XPICKTITLE="Pick CTag ($PWD)"
+export PICKTITLE="Pick CTag ($PWD)"
case "$ACTION" in
"print") print ;;
"fetch") fetch ;;