Procházet zdrojové kódy

Change history file path.

The new path is ${XDG_CONFIG_HOME:-$HOME/.config}/nnn/.history
master
Arun Prakash Jana před 5 roky
rodič
revize
979fadcc7e
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: A75979F35C080412
1 změnil soubory, kde provedl 4 přidání a 2 odebrání
  1. +4
    -2
      src/nnn.c

+ 4
- 2
src/nnn.c Zobrazit soubor

@@ -4964,7 +4964,8 @@ int main(int argc, char *argv[])
#else
rl_bind_key('\t', rl_complete);
#endif
read_history(NULL);
mkpath(cfgdir, ".history", g_buf);
read_history(g_buf);
#endif

if (!initcurses())
@@ -4974,7 +4975,8 @@ int main(int argc, char *argv[])
exitcurses();

#ifndef NORL
write_history(NULL);
mkpath(cfgdir, ".history", g_buf);
write_history(g_buf);
#endif

if (cfg.pickraw) {


Načítá se…
Zrušit
Uložit