comments
This commit is contained in:
1 parent
e8c98c26c5
commit
7ca563d294
1 file changed
+10
-8
+10
-8
@@ -1,4 +1,4 @@
|
|||||||
// PROMPT_COMMAND for z.sh
|
/* PROMPT_COMMAND for z.sh */
|
||||||
|
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
@@ -31,15 +31,17 @@ int main(int __unused argc, char **argv) {
|
|||||||
int found = 0;
|
int found = 0;
|
||||||
float rank_sum = 0;
|
float rank_sum = 0;
|
||||||
|
|
||||||
// Don't track $HOME
|
/* Don't track $HOME */
|
||||||
if (strcmp(argv[1], getenv("HOME")) == 0) return EXIT_SUCCESS;
|
if (strcmp(argv[1], getenv("HOME")) == 0) return EXIT_SUCCESS;
|
||||||
|
|
||||||
// TODO
|
/*
|
||||||
// # don't track excluded dirs
|
TODO
|
||||||
// local exclude
|
# don't track excluded dirs
|
||||||
// for exclude in "${_Z_EXCLUDE_DIRS[@]}"; do
|
local exclude
|
||||||
// [ "$*" = "$exclude" ] && return
|
for exclude in "${_Z_EXCLUDE_DIRS[@]}"; do
|
||||||
// done
|
[ "$*" = "$exclude" ] && return
|
||||||
|
done
|
||||||
|
*/
|
||||||
|
|
||||||
_Z_DATA = getenv("_Z_DATA");
|
_Z_DATA = getenv("_Z_DATA");
|
||||||
if( _Z_DATA == NULL ) {
|
if( _Z_DATA == NULL ) {
|
||||||
|
|||||||
Reference in new issue
Block a user