Commit graph

1069 commits

Author SHA1 Message Date
Jan De Dobbeleer a2353d93e7 feat: add vala segment
resolves #3329
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer 2751a243ef feat: add elixir segment
resolves #3314
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer 39594b0d34 fix(spotify): parse information correctly for PWA on Windows
resolves #3310
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer b8c09f92ab feat(git): add commit information
resolves #3331
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer 57bfb8a419 fix(pwd): do not print quotes
relates to #2515
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer f02017352d fix(fish): remove hyperlink escaping
relates to #3288
2023-01-09 09:18:18 +01:00
Jan De Dobbeleer d4ebc71f9c fix(image): init writer before usage
resolves #3326
2023-01-08 10:43:42 +01:00
Jan De Dobbeleer cd4ca2bdf4 feat(shell): add a CLI timeout of 4 seconds
resolves 3332
2023-01-08 10:43:42 +01:00
Jan De Dobbeleer 5eb6e99ea3 fix(ansi): allow hyperlink overrides 2023-01-06 13:59:10 +01:00
Jan De Dobbeleer 85897ce9ec fix(ansi): append remaining hyperlink
resolves #3323
2023-01-06 13:59:10 +01:00
Jan De Dobbeleer 2b576a3cce fix(ansi): do not print clear colors
resolves #3321
2023-01-06 11:02:37 +01:00
Jan De Dobbeleer 62a1bf96da feat(git): allow adding own remote icons
resolves #3300
2023-01-06 08:14:05 +01:00
Jan De Dobbeleer 6f8733eacd refactor(git): use map for upstream icons 2023-01-06 08:14:05 +01:00
maxlandon 02c557f42e refactor(go): adapt imports for go.mod consistency 2023-01-06 07:48:14 +01:00
Jan De Dobbeleer b5bb060641 fix(compare): support int64
resolves #3309
2023-01-05 21:00:22 +01:00
Jan De Dobbeleer c1bf3a16fe refactor(ansi): do not print when invisible 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer 850787cd6f refactor(ansi): write inverted colors correctly for transparency 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer 0ebd59297b refactor(ansi): count text correctly 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer f1b1a72868 refactor: move hyperlink logic intro writer loop 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer 59ddfc2ba1 refactor: remove unused function 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer 48d8a522bf refactor: rename color module to ansi 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer 005445b9fe refactor(ansi): rewrite ansi and writer 2023-01-05 17:54:32 +01:00
Jan De Dobbeleer e957e5f8cc fix(fish): do not fix fish bug for hyperlinks 2023-01-02 20:09:08 +01:00
Jan De Dobbeleer 77d5c9ed95 refactor(ansi): do not allow plain GOOS override 2023-01-02 19:23:38 +01:00
Jan De Dobbeleer ce7b7f1501 fix(fish): different hyperlink format on linux 2023-01-02 18:36:13 +01:00
Jan De Dobbeleer 784b5f1492 fix(colors): fallback to transparent on empty colors
resolves #3276
2022-12-31 12:30:16 +01:00
maxlandon 3559254292 chore: do not load config options more than once
do not set options for the configuration when it already has been set

this allows several prompt engines being created in a single runtime
2022-12-30 20:04:48 +01:00
LNK LEO 6ae0af6853 fix(networks): get missing 2 bytes back in SSID 2022-12-30 16:17:17 +01:00
Jan De Dobbeleer cf4aa4ed62 fix(engine): always return a new writer for init
resolves #3268
2022-12-29 21:32:57 +01:00
NoF0rte 9d81f5a362 feat(style): segment style as a template string 2022-12-29 19:44:50 +01:00
NoF0rte 9e40a1a0dc feat: conditional segment styles 2022-12-29 19:44:50 +01:00
L. Yeung a3ef56f7fa fix(python): set home_enabled to false by default 2022-12-29 11:28:01 +01:00
Jan De Dobbeleer 023546fe37 chore(go): rename module 2022-12-28 20:17:59 +01:00
maxlandon 04bfb2eef1 feat: add segment writers at runtime 2022-12-28 20:17:59 +01:00
Jan De Dobbeleer 8cd8c9a7be feat(color): do not clear parent colors 2022-12-28 17:14:29 +01:00
Jan De Dobbeleer 60664e245a feat(git): remove stash and worktree count from template
they are now individual functions so they no longer need a switch
2022-12-28 17:14:29 +01:00
Jan De Dobbeleer dee040c719 fix(shell): lock template cache correctly 2022-12-28 17:14:29 +01:00
Jan De Dobbeleer 3cdb3bfc1d fix(shell): do not lock template cache
resolves #3254
2022-12-27 17:32:45 +01:00
Jan De Dobbeleer 07206e5aae feat(project): add always_enabled and project type 2022-12-27 15:53:31 +01:00
Jan De Dobbeleer 73e91eab5b fix(shell): lock template cache creation 2022-12-27 15:53:31 +01:00
Jan De Dobbeleer 2f1bf39253 feat(svn): exclude branch info from fetch_status
resolves #3252
2022-12-27 15:53:31 +01:00
Jan De Dobbeleer 9dd462c0d0 fix(engine): close Env after prompt generation
relates to #3244
2022-12-25 20:59:46 +01:00
Jan De Dobbeleer be803c838b fix(template): use correct cache key
resolves #3244
2022-12-25 20:59:46 +01:00
Michael Carman d9f59272f2 feat(svn): add counting of untracked files; don't default to counting as "unmerged" 2022-12-25 20:32:19 +01:00
Jan De Dobbeleer ed870295be fix(go): correct gopsutil dependency
resolves #3231
2022-12-21 19:34:30 +01:00
maxlandon edc02ddb48 refactor(engine): new instantiation function
this commit adds a function to instantiate a new prompt engine
to be used within a Go application (typically a readline shell)
2022-12-20 20:14:13 +01:00
Jan De Dobbeleer 2255f9fd44 feat(template): custom compare functions
resolves #3218
2022-12-18 15:02:57 +01:00
Jan De Dobbeleer 80b92505bc fix(template): remove the need for escaping a dot literal 2022-12-18 15:02:57 +01:00
Jan De Dobbeleer 2dc8dab25b feat(template): print actual error
relates to #3218
2022-12-18 15:02:57 +01:00
David Anthoff f965dc49aa
feat(project): add support for Julia 2022-12-18 14:55:57 +01:00