Commit graph

858 commits

Author SHA1 Message Date
tjex
449141a9d5 docs: clarity 2023-12-10 06:26:34 -03:00
tjex
cac329e60c doc: typo 2023-12-10 06:26:34 -03:00
tjex
422d37f328 documentation on paths and environment vars 2023-12-10 06:26:34 -03:00
zjp
aeb9cd4b8b Fix preview: handle Windows NT UNC paths (\\?\C:\foo) 2023-12-10 06:26:34 -03:00
zjp
6a0accface debug log 2023-12-10 06:26:34 -03:00
zjp
2f175e6eb2 config_file_example: shell command should be cmd.exe on Windows
and add shell command debug in logging
2023-12-10 06:26:34 -03:00
zjp
2933740c17 If config path doesn't exist, navi won't log. 2023-12-10 06:26:34 -03:00
zjp
6822f1d51b update config_file_example: add a cheats path example on Windows 2023-12-10 06:26:34 -03:00
zjp
2026b708cf eprintln init_logger failure (may need redir if it's flushed away)
and add a description on logging
2023-12-10 06:26:32 -03:00
zjp
13318c4494 Fix multiple paths: define the platform-specific join separator 2023-12-10 06:25:29 -03:00
zjp
4d077ba612 mv navi.log under config dir; debug folders on Windows
2023-05-12T15:51:54.280707Z DEBUG navi::filesystem: read cheat files in `"C"`: []
2023-05-12T15:51:54.281083Z DEBUG navi::filesystem: read cheat files in `"\\Users\\Administrator\\AppData\\Roaming\\navi\\cheats"`: []
2023-12-10 06:25:29 -03:00
zjp
e2c4b2b67e rm env_logger; use tracing instead 2023-12-10 06:25:29 -03:00
zjp
196872b109 introduce use env_logger
related to https://github.com/denisidoro/navi/issues/576

For the following config

cheats:
  paths:
    - C:\\Users\\Administrator\\AppData\\Roaming\\navi\\cheat
    - C:\\Users\\Administrator\\AppData\\Roaming\\navi\\cheat

navi now gets incorrect paths on Windows, since the seperator `:` for
path join is a valid component.

[2023-05-12T08:58:26Z DEBUG navi::commands::core] Filesystem(
        Some(
            "C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat:C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat",
        ),
    )
[2023-05-12T08:58:28Z DEBUG navi::filesystem] filesystem::Fetcher = Fetcher {
        path: Some(
            "C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat:C:\\\\Users\\\\Administrator\\\\AppData\\\\Roaming\\\\navi\\\\cheat",
        ),
        files: RefCell {
            value: [],
        },
    }
2023-12-10 06:25:29 -03:00
Denis Isidoro
a8f38db9a8
Merge pull request #859 from tjex/docs
docs: clarify directory defaults and environment variables
2023-12-10 06:22:00 -03:00
Denis Isidoro
b560ba572e
Merge pull request #840 from zjp-CN/win
Fix multiple paths: define the platform-specific join separator
2023-12-10 06:20:08 -03:00
Rubem Pacelli
eb9ad7c09f
Update navi_config.md 2023-12-04 04:11:06 -03:00
Rubem Pacelli
1119164edb
Update navi_config.md 2023-12-04 04:10:25 -03:00
Rubem Pacelli
6f16237783
Update navi_config.md 2023-12-04 04:09:23 -03:00
Rubem Pacelli
1180e8cb55
Update navi_config.md 2023-12-04 04:08:41 -03:00
Rubem Pacelli
6118a85d91
Update navi_config.md 2023-12-04 04:08:30 -03:00
Rubem Pacelli
ddf6e9c9d0
Update navi_config.md 2023-12-04 04:07:51 -03:00
Rubem Pacelli
3b7f5b9fce
Delete docs/aliases.md 2023-12-04 03:49:51 -03:00
Rubem Pacelli
4e1aada97b
Update cheatsheet_syntax.md 2023-12-04 03:49:11 -03:00
Rubem Pacelli
ef1521f553
Update cheatsheet_syntax.md 2023-12-04 03:48:37 -03:00
Rubem Pacelli
fdc5603278
Update navi_config.md 2023-12-04 03:17:34 -03:00
Rubem Pacelli
924ffb82ad
Update cheatsheet_syntax.md 2023-12-03 21:44:48 -03:00
Rubem Pacelli
2af65719e6
Rename config_file.md to navi_config.md 2023-12-03 21:43:38 -03:00
Rubem Pacelli
18c549bf98
Rename cheatsheet_settings.md to cheatsheet_syntax.md 2023-12-03 21:40:47 -03:00
Rubem Pacelli
7accaa4c78
Rename cheatsheet_syntax.md to cheatsheet_settings.md 2023-12-03 21:38:11 -03:00
Rubem Pacelli
0f41e07073
Update cheatsheet_syntax.md 2023-12-03 20:24:13 -03:00
Rubem Pacelli
dbd077435e
Update cheatsheet_syntax.md 2023-12-03 20:08:03 -03:00
Rubem Pacelli
6689cfd798
Update cheatsheet_syntax.md 2023-12-03 20:02:09 -03:00
Rubem Pacelli
96ff6fe070
Update cheatsheet_syntax.md 2023-12-03 20:01:15 -03:00
Rubem Pacelli
df168032be
Update cheatsheet_syntax.md 2023-12-03 20:00:32 -03:00
Rubem Pacelli
e0111140f5
Update cheatsheet_syntax.md 2023-12-03 19:57:53 -03:00
Rubem Pacelli
ec1eb7e2a1
Update README.md 2023-12-03 19:55:41 -03:00
Rubem Pacelli
eb5c12658b
Update README.md 2023-12-03 19:54:28 -03:00
Rubem Pacelli
2ae23b8980
Update README.md 2023-12-03 12:04:16 -03:00
Rubem Pacelli
6ab04ce298
Update cheatsheet_syntax.md 2023-12-03 11:46:07 -03:00
tjex
d036487fbc doc: file rename 2023-11-04 21:04:15 +01:00
tjex
0dd7b4c9f2 docs: extra clarity 2023-11-04 21:03:10 +01:00
tjex
3b35956a47 docs: clarity 2023-11-04 20:56:48 +01:00
tjex
8d19e8aa3c doc: typo 2023-11-04 20:54:49 +01:00
tjex
75e9306c0d documentation on paths and environment vars 2023-11-04 20:53:33 +01:00
Denis Isidoro
20c658a503
Merge pull request #853 from kachick/fix-ci-badge
Update badge link for CI workflow
2023-09-24 17:18:13 -03:00
Kenichi Kamiya
d52d7081fe
Update badge link for CI workflow
Follow 2ca1d8fc85
2023-08-21 21:11:42 +09:00
Denis Isidoro
06a72c5dce
Merge pull request #839 from countcain/patch-1
Update tmux doc
2023-05-15 08:56:48 -03:00
zjp
ea95dfec48 Fix preview: handle Windows NT UNC paths (\\?\C:\foo) 2023-05-13 22:44:13 +08:00
zjp
b9283f6718 debug log 2023-05-13 22:41:02 +08:00
zjp
25792db877 config_file_example: shell command should be cmd.exe on Windows
and add shell command debug in logging
2023-05-13 15:51:39 +08:00