Commit graph

813 commits

Author SHA1 Message Date
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
zjp
eaadec172c If config path doesn't exist, navi won't log. 2023-05-13 14:14:36 +08:00
zjp
e8489cd0d5 update config_file_example: add a cheats path example on Windows 2023-05-13 13:57:32 +08:00
zjp
0fe4bc2447 eprintln init_logger failure (may need redir if it's flushed away)
and add a description on logging
2023-05-13 13:47:21 +08:00
zjp
8a2bf7d1eb Fix multiple paths: define the platform-specific join separator 2023-05-13 11:27:27 +08:00
zjp
2755d51b38 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-05-13 00:21:31 +08:00
zjp
818d5cdc0e rm env_logger; use tracing instead 2023-05-12 19:13:50 +08:00
zjp
d1699dfaf1 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-05-12 17:01:49 +08:00
Tao Huang
6d1e91bcbd
Update tmux.md
Fix the tmux command
2023-05-11 19:58:55 -04:00
Denis Isidoro
6f316ec7eb
Merge pull request #833 from utkarshgupta137/master
Use XDG conventions on macOS too
2023-04-24 17:34:00 -03:00
Denis Isidoro
acec1a376a
Merge pull request #835 from alexvy86/fix-install-script
Fix install script
2023-04-24 17:32:36 -03:00
Alex Villarreal
6bc0e1dc97
Fix install script 2023-04-24 12:55:13 -05:00
Utkarsh Gupta
21f93c84b1
Use XDG conventions on macOS too 2023-04-24 19:41:06 +05:30
Denis Isidoro
6a223afae3
Merge pull request #831 from orhun/docs/add_arch_instructions
Add instructions for installing via pacman
2023-04-20 06:48:15 -03:00
Orhun Parmaksız
29e58dd5c6
Add instructions for installing via pacman
https://archlinux.org/packages/community/x86_64/navi/
2023-04-20 01:29:40 +03:00
Denis Isidoro
ed10acba61
Fix cross builds(#829) 2023-04-09 11:21:36 -03:00
Denis Isidoro
bd2fe39fcc
Replace target: aarch64-apple-ios by aarch64-apple-darwin (#827) 2023-04-09 10:17:33 -03:00
Denis Isidoro
efa09974a8
Bump to 2.22.1 (#826) 2023-04-09 10:10:35 -03:00
Denis Isidoro
f8192a468e
Fix publish script (#825) 2023-04-09 10:08:42 -03:00
Denis Isidoro
e3920552ca
Add --prevent-interpolation flag (#824) 2023-04-08 21:53:48 -03:00
Denis Isidoro
a72add9d80
Bump to 2.22.0 (#823) 2023-04-08 21:45:38 -03:00
Denis Isidoro
4f63f30ed7
Fix padding (#822) 2023-04-08 21:15:55 -03:00
Denis Isidoro
f6414551bb
Prevent variable selection content from being limited to 3 columns (#821) 2023-04-08 21:13:27 -03:00
Denis Isidoro
8963749e6a
Correctly calculate character widths (#820) 2023-04-08 20:53:25 -03:00
Denis Isidoro
2b03c89034
Remove link to Katacoda (#819) 2023-04-08 19:40:24 -03:00
Denis Isidoro
b56d70a6ca
Use dns_common library (#818) 2023-04-08 19:38:50 -03:00
Denis Isidoro
8cf9c96e54
Update dependencies (#817) 2023-04-08 19:28:42 -03:00
Denis Isidoro
7abdb057e6
Merge pull request #815 from TD-Sky/clap4
Upgrade clap to `4.2.1`
2023-04-08 19:12:06 -03:00
Denis Isidoro
3f6dc72c34
Merge pull request #812 from eugenesvk/patch-1
Add xonsh support instructions to Installation.md
2023-04-08 19:11:27 -03:00
Denis Isidoro
3299ca75ca
Merge pull request #810 from emilyseville7cfg-docs/feature/mention-similar-projects
Refresh README: mention Command Line Interface Pages project
2023-04-08 19:11:14 -03:00
TD-Sky
f0f8e83f06 Upgrade clap to 4.2.1 2023-04-04 17:49:16 +08:00
Evgeny
317d1a1dce
Add xonsh support instructions to Installation.md 2023-03-12 17:50:02 +07:00
Emily Grace Seville
cb999419b0
Refresh README:
- mention Command Line Interface Pages project
2023-03-05 21:10:52 +10:00
Denis Isidoro
ecaeacf1d8
Merge pull request #807 from vashirov/i806
Handle multiline snippets better
2022-12-21 08:06:29 -03:00
Viktor Ashirov
4b07ddfe1a Handle multiline snippets better
Add support for code blocks using markdown syntax. Lines that are
part of the snippet and match the variables regex won't be interpeted as
a variable.

Additionally, add `.cheat.md` as a file extension for cheats so that it
can be rendered on GitHub with proper code formatting and syntax
highlighting.

Fixes #806
2022-12-19 20:35:54 +01:00
Denis Isidoro
13fe757a8a
Merge pull request #776 from trantor/preview_fix
Fix preview map "leaking" with multiple variables
2022-11-15 17:26:00 -03:00
Denis Isidoro
0c82419934
Merge pull request #801 from bimlas/extend-docs
Extend docs
2022-11-15 17:25:33 -03:00
bimlas
636812cc2f Add link to TiddlyWiki plugin 2022-11-15 21:00:57 +01:00
bimlas
d05fc4538d Add documentation about Tmux-widget 2022-11-15 20:53:14 +01:00
Denis Isidoro
8373da2166
Merge pull request #797 from yuta100101/fix/install
Fix install script
2022-10-17 08:26:05 +03:00
yuta100101
1823e19037 Fix install script 2022-10-09 13:16:00 +09:00
Denis Isidoro
69075b73f1
Delete dependabot.yml 2022-09-11 20:14:07 -03:00
Denis Isidoro
fb706b7fbc
Merge pull request #792 from kianmeng/prettify-md-yaml
Prettify md/yaml files
2022-09-11 07:45:58 -03:00
Denis Isidoro
d2b0935e9b
Merge pull request #791 from kianmeng/fix-typos
Fix typos
2022-09-11 07:45:18 -03:00
Kian-Meng Ang
5c6da68122 Prettify md/yaml files
Resolved via `prettier -w .`
2022-09-08 20:56:04 +08:00
Kian-Meng Ang
dee8f3698f Fix typos
Found via `codespell -L crate,ser`
2022-09-08 20:53:54 +08:00