revame of START_PATH to TH_START_PATH
This commit is contained in:
@@ -84,7 +84,7 @@ static const binding key_binding[] = {
|
|||||||
{ "G", jump_bottom, NULL, "jump to last file in dir" },
|
{ "G", jump_bottom, NULL, "jump to last file in dir" },
|
||||||
{ "gg", jump_top, NULL, "jump to first file in dir" },
|
{ "gg", jump_top, NULL, "jump to first file in dir" },
|
||||||
{ "gh", jump_to_dir, "$HOME", "jump to $HOME" },
|
{ "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" },
|
{ "gD", jump_to_dir, "$HOME/Downloads", "jump to $HOME/Downloads" },
|
||||||
{ "gC", jump_to_dir, "$HOME/Documents", "jump to $HOME/Documents" },
|
{ "gC", jump_to_dir, "$HOME/Documents", "jump to $HOME/Documents" },
|
||||||
{ "gP", jump_to_dir, "$HOME/Pictures", "jump to $HOME/Pictures" },
|
{ "gP", jump_to_dir, "$HOME/Pictures", "jump to $HOME/Pictures" },
|
||||||
|
|||||||
@@ -195,7 +195,7 @@ void init() {
|
|||||||
ESCDELAY = 10;
|
ESCDELAY = 10;
|
||||||
global_path = getcwd(NULL, 0);
|
global_path = getcwd(NULL, 0);
|
||||||
char *start_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);
|
free(start_path);
|
||||||
|
|
||||||
seed = time(NULL);
|
seed = time(NULL);
|
||||||
|
|||||||
Reference in New Issue
Block a user