return str;
}
-char* chomp(char* in) {
- char* pos = strrchr(in, '\n');
- if (pos) *pos = '\0';
- return in;
-}
-
uint64_t modtime(char* path) {
struct stat status;
if (stat(path, &status) < 0)
/* Sed command used to execute commands marked with ':' sigil */
char* SedCmd[] = { "sed", "-e", NULL, NULL };
-/* Fuzzy picker for tags in a ctags database. */
-char* PickTagCmd[] = { "picktag", NULL, "tags", NULL, NULL };
-
/* Try to fetch the text with tide-fetch */
char* FetchCmd[] = { "tfetch", NULL, NULL };