Commit graph

51 commits

Author SHA1 Message Date
L. Yeung abd6676c5b fix(path): improve path cleaning, normalization and parsing
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
2024-08-29 18:15:00 +02:00
Jan De Dobbeleer f9d2f6040e feat(cygwin): better detection 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer c1f99f8e6b fix: disable hyperlink functionality for unsupported shells 2024-07-25 21:03:10 +02:00
Jan De Dobbeleer 3d0c85b211 feat(git): follow symlinks for git dir 2024-07-09 09:23:03 +02:00
Jan De Dobbeleer 822e2b5b48 refactor: merge net and http under runtime module 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer 05251e1ac3 refactor(platform): rename to runtime 2024-07-04 11:05:24 +02:00
Jan De Dobbeleer b6f5999e21 feat(path): allow displaying the cygwin style path
resolves #5074
2024-06-20 12:27:25 +02:00
Jan De Dobbeleer 33ac83551e feat(path): enable templates for max_width
resolves #5097
2024-06-17 15:59:29 +02:00
Jan De Dobbeleer 92031bdf51 fix(path): construct currentpath correctly on Windows
relates to #4727
2024-04-22 10:46:48 +02:00
Jan De Dobbeleer 6e1137512c feat(path): highlight git directory
resolves #4727
2024-03-30 15:37:28 +01:00
Jan De Dobbeleer 46c6275630 fix(lint): make string repetitions constant 2023-10-24 10:53:23 +00:00
Jan De Dobbeleer 35c2588365 chore: fix function typo 2023-09-19 19:35:23 +02:00
Jan De Dobbeleer 0f8929ed13 feat(debug): print templates 2023-08-25 12:09:54 +02:00
Jan De Dobbeleer 75e098b20b fix(path): add last element when only 1 level deep
resolves #4162
2023-08-17 09:31:39 +02:00
L. Yeung 4b71c2ba07 feat(path): respect folder_separator_icon in a colon-trailed root 2023-05-11 06:53:28 +02:00
Jan De Dobbeleer f0c88efb40 fix(path): validate index before assignment
resolves #3768
2023-04-27 20:07:04 +02:00
Jan De Dobbeleer 66ca5ccf1f feat(path): allow coloring the folder_separator_icon on cycle 2023-04-25 20:42:12 +02:00
Jan De Dobbeleer facc24d290 feat(path): add colored full path 2023-04-20 07:07:07 +02:00
Jan De Dobbeleer 96868bfd4f fix(path): return early when powerlevel is < max_width
resolves #3607
2023-03-27 17:00:13 +02:00
Jan De Dobbeleer 6af47a61d5 feat(path): add powerlevel style
resolves #3607
2023-03-21 20:47:17 +01:00
Jan De Dobbeleer 3ef7f1b481 chore(logs): pretty logs 2023-01-17 10:56:12 +01:00
maxlandon 02c557f42e refactor(go): adapt imports for go.mod consistency 2023-01-06 07:48:14 +01:00
Jan De Dobbeleer 005445b9fe refactor(ansi): rewrite ansi and writer 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer 023546fe37 chore(go): rename module 2022-12-28 20:17:59 +01:00
Jan De Dobbeleer a1801f717c chore(path): add home tests for mapped locations 2022-12-06 20:30:40 +01:00
Jan De Dobbeleer 35edf3a93d fix(path): use relative on empty root
relates to #2962
2022-11-26 15:49:57 +01:00
Jan De Dobbeleer 59c1c3f7ba refactor(debug): extract log from platform 2022-11-21 19:29:46 +01:00
Jan De Dobbeleer 54672cefdf feat(path): allow templates in mapped_locations
resolves #3084
2022-11-16 09:20:43 +01:00
Jan De Dobbeleer 18f6db017a chore: rename environment to platform 2022-11-11 20:23:52 +01:00
Jan De Dobbeleer c156d17577 feat(path): replace child locations
relates to #2962
2022-11-04 21:03:36 +01:00
Jan De Dobbeleer 016dc50e72 fix(path): show separator for root drives
resolves #2954
2022-10-17 12:45:24 +02:00
Jan De Dobbeleer b533a27f21 fix(path): format root correctly 2022-10-14 08:46:14 +02:00
Jan De Dobbeleer 6bc0f888c2 fix(path): correct root on full style
resolves #2939
2022-10-14 08:46:14 +02:00
Jan De Dobbeleer ac0ffec43a fix(path): remove duplicate logic
resolves #2923
2022-10-13 08:40:29 +02:00
L. Yeung 5b6a3470d1 fix(path): parse path correctly 2022-10-04 06:50:07 +02:00
Jan De Dobbeleer 9653506e34 fix(path): correct mapped_locations logic
resolves #2839
2022-09-27 12:01:25 +02:00
Jan De Dobbeleer 7c7ce069e0 fix(path): only replace actual home folder
resolves #2832
2022-09-26 09:54:51 +02:00
L. Yeung e5b3b00a43 fix(git): populate .Dir and .RepoName correctly 2022-09-01 11:02:14 +02:00
Jan De Dobbeleer 5f063e80f3 chore(lint): nolint should be written without leading space 2022-08-05 08:38:17 +02:00
Jan De Dobbeleer 47265b1bc1 fix(path): map Parent correctly 2022-08-03 18:03:04 +02:00
Jan De Dobbeleer 18e23f93a8 chore: rename platform variables 2022-08-03 18:03:04 +02:00
Jan De Dobbeleer 48707504cd feat(path): add Writable
resolves #2269
2022-05-16 07:45:12 +02:00
Jan De Dobbeleer 6462607178 feat(path): template for path separator 2022-05-12 20:49:37 +02:00
Jan De Dobbeleer 69ae95affc feat(debug): expose Log via environment 2022-05-12 20:49:37 +02:00
lnu 39a272af76 fix(path): agnoster unc path on windows 2022-04-07 09:25:56 +02:00
Jan De Dobbeleer 10d56a8551 refactor(cli): migrate to cobra 2022-03-12 23:05:57 +01:00
jedwillick e075f76718 feat: add hide root to agnoster short 2022-03-05 13:12:49 +01:00
Jan De Dobbeleer 3d4fc5b6dd chore: remove typo
resolves #1787
2022-02-19 19:23:56 +01:00
Jan De Dobbeleer d1bd686674 feat(path): unique letters style
resolves #1663
2022-02-09 10:46:15 +01:00
Jan De Dobbeleer 83980a3dff feat: deprecate pre- and postfix 2022-02-03 10:44:18 +01:00