diff --git a/config.h b/config.h index d488a4b..25eba04 100644 --- a/config.h +++ b/config.h @@ -84,7 +84,7 @@ static const binding key_binding[] = { { "G", jump_bottom, NULL, "jump to last file in dir" }, { "gg", jump_top, NULL, "jump to first file in dir" }, { "gh", jump_to_dir, "$HOME", "jump to $HOME" }, - { "gs", jump_to_dir, "$START_PATH", "jump to $START_PATH" }, /* the path you started th in */ + { "gs", jump_to_dir, "$TH_START_PATH", "jump to $TH_START_PATH" }, /* the path you started th in */ { "gD", jump_to_dir, "$HOME/Downloads", "jump to $HOME/Downloads" }, { "gC", jump_to_dir, "$HOME/Documents", "jump to $HOME/Documents" }, { "gP", jump_to_dir, "$HOME/Pictures", "jump to $HOME/Pictures" }, diff --git a/main.c b/main.c index d0f929c..bcfad04 100644 --- a/main.c +++ b/main.c @@ -195,7 +195,7 @@ void init() { ESCDELAY = 10; global_path = getcwd(NULL, 0); char *start_path = getcwd(NULL, 0); - setenv("START_PATH", start_path, 0); + setenv("TH_START_PATH", start_path, 0); free(start_path); seed = time(NULL);