Commit graph

372 commits

Author SHA1 Message Date
Jan Tielens 6ed5402ef6 docs: instructions to set font in Windows Terminal
Instructions to modify settings.json to set default font.
2021-03-10 18:08:09 +01:00
Jan De Dobbeleer 9ffc16a1c5 docs: dynamic installation guide
resolves #487
2021-03-06 18:00:06 +01:00
dependabot[bot] 5bc4759309 chore(deps): bump prismjs from 1.21.0 to 1.23.0 in /docs
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.21.0 to 1.23.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.21.0...v1.23.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-01 23:17:10 +01:00
TravisTX 7d785df08a feat: include folders 2021-02-28 21:05:11 +01:00
Jan De Dobbeleer 404a123217 feat: use go embed 2021-02-27 16:48:57 +01:00
Jan De Dobbeleer 3fbf785bd9 feat: ansi text formats
resolves #440
2021-02-27 13:19:44 +01:00
Jan De Dobbeleer 2fd823c464 docs(pwsh): remove the beta flag
resolves #446
2021-02-26 06:57:34 +01:00
Jan De Dobbeleer be1ec7bea3 feat(os): show/hide distro name
resolves #443
2021-02-26 06:57:34 +01:00
Jan De Dobbeleer 58f1789415 feat(session): default user override
resolves #447
2021-02-24 10:12:47 +01:00
Jan De Dobbeleer 2ab7ff94d7 feat(git): branch status switch
resolves #438
2021-02-19 19:40:13 +01:00
Jan De Dobbeleer 734158a8a3 refactor: universal display_default
relates to #380
2021-02-18 19:11:55 +01:00
Jan De Dobbeleer f92904af5e docs(pwsh): correct theme export guide 2021-02-18 10:46:33 +01:00
Jan De Dobbeleer 9b137827e1 fix(pwsh): correct encoding for config export
resolves #425
2021-02-18 10:46:21 +01:00
Jan De Dobbeleer 78c1db9d46 docs: typo fix 2021-02-16 09:00:02 +01:00
Jan De Dobbeleer b59b4197dc chore: rename repository 2021-02-16 09:00:02 +01:00
Jan De Dobbeleer 87af930b75 fix: switch for OSC99 2021-02-15 23:23:44 +01:00
Jan De Dobbeleer 853eaa3890 feat(session): support text template
relates to #376
2021-02-15 23:23:44 +01:00
Jan De Dobbeleer 507906009d feat(battery): support color templates
relates to #376
2021-02-15 23:23:44 +01:00
Jan De Dobbeleer 0da40e6aa7 feat(node): version mismatch color
resolves #378
2021-02-15 23:23:44 +01:00
Asaf Mahlev c71c5e86cb feat: added Mixed path option - displays the path if it's short enough 2021-02-15 17:03:35 +01:00
Jan De Dobbeleer 0d87942fe3 refactor: session segment template properties 2021-02-15 13:36:42 +01:00
Jan De Dobbeleer 9aa813b7af docs: color templates explanation
relates to #397
2021-02-15 13:36:42 +01:00
Jan De Dobbeleer 9457be3990 refactor: hide erorr for languages
resolves #400
2021-02-14 13:08:50 +01:00
TravisTX acfda5c9ca feat: add display_error to kubectl 2021-02-12 22:14:58 +01:00
Jan De Dobbeleer 616cc3a685 docs: aws segment 2021-02-12 12:59:07 +01:00
Jan De Dobbeleer 3c1c0f87df feat: sprig template functions
relates to #397
2021-02-12 12:59:07 +01:00
TravisTX 731ebf6f9a feat: kubectl namespace 2021-02-11 07:06:40 +01:00
Carlos Alberto Costa Beppler 3729dee16e feat: add the User and Host properties to the console title template 2021-02-06 23:05:41 +01:00
Jan De Dobbeleer ef6f7fc63c docs: language cleanup 2021-02-04 17:05:46 +01:00
Jan De Dobbeleer 07a258a47e docs: ruby segment 2021-02-04 17:05:46 +01:00
Jan De Dobbeleer af4b1c6c39 refactor(docs): update dependencies 2021-01-25 12:52:17 +01:00
Jan De Dobbeleer c35fd00a4b refactor: unified installation guide 2021-01-24 13:14:55 +01:00
Travis Illig cdc9ff9bfc docs: unify language segment docs 2021-01-22 19:22:35 +01:00
Jan De Dobbeleer 2af3e672fd fix(python): restore CONDA_DEFAULT_ENV
resolves #360
2021-01-20 19:09:11 +01:00
Jan De Dobbeleer d1025670fb chore(docs): add exit icons 2021-01-19 19:22:46 +01:00
TravisTX 8e1d38f053 docs: remove incorrect information 2021-01-16 23:17:25 +01:00
Laurent Nullens f81df2d8d4 chore: fix console title template syntax in sample 2021-01-16 13:29:53 +01:00
TravisTX 9f022d7ba5 feat: envvars in console title 2021-01-15 22:36:29 +01:00
Jan De Dobbeleer 6ed5d26610 refactor: re-introduce context for language 2021-01-15 19:24:58 +01:00
Jan De Dobbeleer 2abcd82f45 refactor: use language context to display segment
relates to #239
2021-01-15 19:24:58 +01:00
Jan De Dobbeleer 890f9cde1b refactor(language): remap context to files 2021-01-15 19:24:58 +01:00
Jan De Dobbeleer 369ff4ddaf fix(docs): adjust hyperlink links 2021-01-13 13:28:34 +01:00
Laurent Nullens ee25365ee7 chore: doc update for Delve config
Add an extra section to show how to configure Delve for VS Code(expand limits)
2021-01-13 08:31:15 +01:00
lnu 866c44e42d feat: add hyperlink rendering
An hyperlink can be added using markdown syntax and will be detected by the engine.
Initial implementation for path segments.
2021-01-12 21:37:41 +01:00
Willie Zutz b876744721 docs: adding encoding for Write-PoshTheme to upgrade guide
fixing a couple typos.

refs #220
2021-01-09 21:37:59 +01:00
Laurent Nullens 86d2c3c0fa chore: spotify segment doc updated
https://github.com/JanDeDobbeleer/oh-my-posh3/issues/317
2021-01-05 07:07:45 +01:00
lnu 9822227a5e docs: display_mode 'never' removed 2021-01-01 08:46:22 +01:00
lnu 621cb8e4bc docs: spell check 2021-01-01 08:46:22 +01:00
TravisTX dbe3fa1bcc feat: include schema declaration in themes 2020-12-31 23:16:20 +01:00
Jan De Dobbeleer 11350c7347 feat: show no commits context 2020-12-31 20:34:05 +01:00
lnu abfbb27765 fix: don't check language version in Enabled()
fix: align dotnet segment with other languages
feat: missing command text + json schema updated
chore: doc updated
perf: cache executable path
chore: not supported version icon updated(previus one was unreadable)
2020-12-31 16:59:13 +01:00
lnu 9013a5b3d4 chore: doc updated(Get an editor) 2020-12-29 21:47:04 +01:00
TravisTX eefc689ec9 docs: fix json 2020-12-27 22:59:16 +01:00
Jan De Dobbeleer b4d23a4716 chore: adjust shell arguments 2020-12-27 18:23:40 +01:00
Jan De Dobbeleer 9e7d901fb6 feat: set console title with template 2020-12-27 18:23:40 +01:00
Jan De Dobbeleer c4cb6772e9 chore: adjust contributing docs 2020-12-25 20:48:14 +01:00
Jan De Dobbeleer ef51c9d3c5 chore: extend contributing docs 2020-12-25 20:11:24 +01:00
Jan De Dobbeleer e27b21bf23 chore: add get started contributing guide 2020-12-25 14:54:36 +01:00
Jan De Dobbeleer bea4799f9d fix: remove go-bindata module dependency 2020-12-25 14:54:36 +01:00
TravisTX 0e5e65d9e3 feat: mapped_locations_enabled 2020-12-25 14:52:01 +01:00
TravisTX 7af8be2250 feat: use mapped_locations in folder style 2020-12-24 16:21:31 +01:00
Jan De Dobbeleer d62c3d6e37 chore: add powershell theme information 2020-12-23 19:55:48 +01:00
Jan De Dobbeleer e60daec9a5 chore: adjust docs layout 2020-12-23 15:24:26 +01:00
Jan De Dobbeleer 5c2f1353c1 fix: doc typo's 2020-12-23 13:54:36 +01:00
Jan De Dobbeleer 1676d839af feat: add fish init script 2020-12-23 13:54:36 +01:00
Jan De Dobbeleer 8e226ac332 feat: add bash init script 2020-12-23 13:54:36 +01:00
Jan De Dobbeleer 1b5263e48e feat: add zsh init script 2020-12-23 13:54:36 +01:00
Moritz Meier 5e6ade76d5 feat: added display_mode property to language segment 2020-12-23 10:02:20 +01:00
Jan De Dobbeleer a1b2b8d67b feat: initialize pwsh starship style 2020-12-23 10:02:20 +01:00
Jan De Dobbeleer 597a2a0d96 chore: add powershell module info
resolves #252
2020-12-23 09:44:51 +01:00
TravisTX 21f01d69e8 feat: execution time for powershell 5 2020-12-19 21:47:08 +01:00
TravisTX 85b1fc2662 feat: powershell rprompt support 2020-12-19 19:21:29 +01:00
Jan De Dobbeleer 3ca2cb5ef3 feat: zsh rprompt compatibility 2020-12-18 19:36:31 +01:00
Jan De Dobbeleer adb205fe66 feat: agnoster short path style
resolves #241
2020-12-17 12:15:01 +01:00
Jan De Dobbeleer 02f1c776dd chore: add markdown linting 2020-12-14 13:18:53 +01:00
Jan De Dobbeleer 0a9343931b chore: adjust docs for linter 2020-12-14 12:28:53 +01:00
Jan De Dobbeleer b229c4dcad fix: powershell duration can be $null
resolves #236
2020-12-14 12:28:53 +01:00
dependabot[bot] 739dbdea55 chore(deps): bump ini from 1.3.5 to 1.3.8 in /docs
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-13 08:19:11 +01:00
Jan De Dobbeleer 552fda014b fix: styling fixes for execution time 2020-12-12 13:45:04 +01:00
Jan De Dobbeleer d5b41b37b2 feat: add always enabled to execution time 2020-12-12 13:45:04 +01:00
Jan De Dobbeleer 1777f1df38 feat: provide millis from oh-my-posh
resolves #231
2020-12-12 13:45:04 +01:00
TravisTX b74516c8e2 feat: execution time formats 2020-12-11 17:57:35 +01:00
TravisTX 5f7b1f6ac6 feat: execution time segment 2020-12-08 09:05:22 +01:00
Jan De Dobbeleer e92061428b feat: use regex for ignore folders
resolves #187
2020-12-06 19:40:41 +01:00
mifieldxu c266fdb3a0 chore: fixing typos in segment-path.md
fixed a few typos for property names
2020-12-06 11:25:36 +01:00
lnu c33827815d feat: option to hide the battery status when it's charging 2020-12-04 18:35:20 +01:00
Jan De Dobbeleer 67beefe531 chore(docs): print all the themes
resolves #191
2020-12-03 14:25:52 +01:00
Jan De Dobbeleer 5b275cc155 feat: allow hiding of default user
resolves #208
2020-12-02 19:14:11 +01:00
Jan De Dobbeleer 09255ae63d fix: use full block for spaces only with a background
This reverts commit 7d3629c7d4.
This resolves #212
2020-12-02 18:46:36 +01:00
Jan De Dobbeleer 95c51a8538 chore: update PS install docs 2020-12-02 09:55:42 +01:00
Jan De Dobbeleer 7d3629c7d4 fix: use full block for spaces 2020-12-02 09:26:07 +01:00
Kyle Crowley 870af53d35 feat: youtube music desktop app integration
resolves #170
2020-12-01 20:49:51 +01:00
Jan De Dobbeleer 7071c4d74c chore: add themes to docs 2020-11-30 08:58:02 +01:00
CatTheHacker 9e6dd681fb docs: add themes showcase 2020-11-30 08:55:28 +01:00
Jan De Dobbeleer e68be7aa44 feat: use *.omp.json as theme format 2020-11-28 19:29:44 +01:00
Jan De Dobbeleer 5d0056ac7c chore: update terraform docs 2020-11-28 19:29:44 +01:00
Jan De Dobbeleer 1f064e8230 chore: spotify docs typo 2020-11-28 19:29:44 +01:00
Jan De Dobbeleer 33e3307fc6 fix: use Property for mapped locations 2020-11-28 19:29:44 +01:00
Jan De Dobbeleer b6669a4506 chore: fix git segment doc typo's 2020-11-28 19:29:44 +01:00
Shaun Sutterfield bfb21739d4 feat: 'exit' segment: option to always use numeric codes 2020-11-27 15:42:14 +01:00
Wolfspirit 991ce4b4ce fix: empty error code handling in docs and module 2020-11-26 15:20:35 +01:00
Vixb 757c835283 chore: update the theme storage path on windows 2020-11-26 08:43:00 +01:00
Spencer Hedrick 56778276b2 feat: add inline background color syntax 2020-11-21 20:57:43 +01:00
Jan De Dobbeleer c1eaa28c99 chore: update scoop docs 2020-11-20 13:13:11 +01:00
lnu 77cd537501 feat: customizable short path 2020-11-20 10:25:35 +01:00
Jan De Dobbeleer 4fa9f01653 chore: add info about font installation
relates to #145
2020-11-19 19:47:10 +01:00
Laurent Nullens 0250e8d5d1 fix: spotify doc
Issue with the properties code.
2020-11-19 19:03:56 +01:00
lnu 1f3c253e45 feat: get native and powershell error code
Check native and powershell errors before sending it to oh-my-posh
2020-11-18 10:51:11 +01:00
Jan De Dobbeleer 9875de38d9 feat: julia segment
resolves #157
2020-11-15 07:43:23 +01:00
Jan De Dobbeleer 7cb752abcb feat: console title style
resolves #149
2020-11-13 16:10:57 +01:00
Jan De Dobbeleer 8fb190e074 refactor: linting checks for all platforms 2020-11-12 14:04:52 +01:00
Jan De Dobbeleer 6d3e05e4e0 refactor: show 100% on battery error
relates to #20
2020-11-11 19:05:59 +01:00
Jan De Dobbeleer b152e9df29 feat: introduce agnoster_full path style
resolves #142
2020-11-11 13:58:24 +01:00
lnu 96cac5f689 feat: spotify segment for windows 2020-11-10 19:53:32 +01:00
Samuel 00e62e4810 feat: support color names for basic 16 ANSI colors
Closes #127
2020-11-08 20:24:54 +01:00
Jan De Dobbeleer 49570c0aaa chore: homebrew documentation 2020-11-07 19:57:13 +01:00
Jan De Dobbeleer 0dc62cc706 chore: configuration context 2020-11-04 11:41:34 +01:00
Jan De Dobbeleer 646cf27e1b chore: update oh-my-posh invocation 2020-11-03 22:27:32 +01:00
Jan De Dobbeleer f86dcf23bc feat: ssh session indicator
resolves #48
2020-11-03 20:09:00 +01:00
Jan De Dobbeleer ed4fd895ec chore: add next steps information 2020-11-03 15:24:30 +01:00
Jan De Dobbeleer c1245690c0 feat: print current shell switch 2020-11-03 15:24:30 +01:00
Jan De Dobbeleer bf15095cc1 chore: shell config reload info 2020-11-03 15:24:30 +01:00
Jan De Dobbeleer 1043d24f7c chore: update installation instructions 2020-11-03 09:16:09 +01:00
Jan De Dobbeleer 0ba62540ab chore: nu shell install instructions 2020-11-02 18:53:01 +01:00
Jan De Dobbeleer e798ad0623 fix: user correct path and statement
resolves #119
2020-11-02 14:23:09 +01:00
Jan De Dobbeleer 33d099a004 chore: add Scoop docs 2020-11-01 17:56:05 +01:00
Jan De Dobbeleer 58a03f1c97 fix: remove escape characters from $PWD
resolves #111
2020-10-30 14:18:17 +01:00
Jan De Dobbeleer 8986c3b621 fix: use correct path for ProcessStartInfo
resolves #112
2020-10-30 14:18:17 +01:00
Jan De Dobbeleer 59d7a0eeef chore: add NF cheat sheet info
resolves #109
2020-10-30 14:18:17 +01:00
Jan De Dobbeleer 33c40ebf39 fix: theme paths with spaces
resolves #100
2020-10-27 10:49:08 +01:00
Jan De Dobbeleer 90f367eab3 chore: powershell 5 context
relates to #96
2020-10-25 16:51:22 +01:00
Jan De Dobbeleer 287235f706 chore: command segment context 2020-10-25 13:28:39 +01:00
Jan De Dobbeleer f3e46d872b feat: disable git status detail
resolves #93
2020-10-24 19:51:00 +02:00
Jan De Dobbeleer 8155c4b232 fix: powershell invocation 2020-10-24 19:51:00 +02:00
Jan De Dobbeleer 9379c99931 fix: adjust bottom bar links 2020-10-22 19:18:22 +02:00
Jan De Dobbeleer 72662eadc0 refactor: add font context to docs 2020-10-22 19:18:22 +02:00
Jan De Dobbeleer ab1e812c06 feat: golang segment 2020-10-22 19:18:22 +02:00
Nathan Wykes 9ccf376d61 feat: add wsl capability to os segment 2020-10-22 07:23:47 +02:00
Jan De Dobbeleer 1c6944b1db fix: broken contributing segment page link 2020-10-21 13:11:49 +02:00
Mats Estensen c3e81f4d75 feat: add terraform workspace segment 2020-10-19 09:57:39 +02:00
Jan De Dobbeleer c41866171d feat: git segment branch context color 2020-10-18 19:45:55 +02:00
Jan De Dobbeleer 4e27952b3f feat: git area colors
resolves #4
2020-10-18 12:38:59 +02:00
Travis Illig 5844faa54d feat: dotnet segment for .NET SDK display
New segment for .NET SDK version (or unsupported version) display.

Includes update for handling command execution errors so segments
can act differently based on exit codes. Using a custom error
type to make it testable rather than passing the OS error directly
to the segment.
2020-10-16 11:39:01 -07:00
Jan De Dobbeleer 23233bc383 refactor: update defaults in docs 2020-10-16 11:18:19 -07:00
Jan De Dobbeleer b6a70af568 refactor: replace theme icons 2020-10-16 11:18:19 -07:00
Jan De Dobbeleer 686e33d02e refactor: replace session icons 2020-10-16 11:18:19 -07:00
Jan De Dobbeleer e0e79f59f0 refactor: replace path icons 2020-10-16 11:18:19 -07:00
Jan De Dobbeleer db818b5fa4 refactor: replace battery icons 2020-10-16 11:18:19 -07:00
Jan De Dobbeleer 447aa02c35 refactor: replace shell icon 2020-10-16 11:18:19 -07:00
Jan De Dobbeleer 0f7b3cffb7 refactor: replace root icon 2020-10-16 11:18:19 -07:00
Jan De Dobbeleer 6e89a0b878 refactor: replace powerline icon 2020-10-16 11:18:19 -07:00
Travis Illig 7537f6dc70 feat: kubectl context display segment
Segment displays the current Kubernetes context name when available.
2020-10-15 10:54:49 -07:00
Travis Illig 2c95d33c84 feat: az segment for Azure subscription info
New segment `az` allows display of current Azure subscription name and
ID with a configurable separator. Defaults to only display the name.
2020-10-15 07:30:38 +02:00
Jan De Dobbeleer 1086a48d91 feat: set console title option 2020-10-12 13:25:27 +02:00
Jan De Dobbeleer c23a1d6e1c feat(git): add upstream icons
resolves #7
2020-10-11 20:48:26 +02:00
Jan De Dobbeleer 4f2e7ee7a3 refactor(git): show merge context 2020-10-11 13:39:38 +02:00
Jan De Dobbeleer 2d3939fdc6 refactor(git): display changes only 2020-10-11 13:39:38 +02:00
Jan De Dobbeleer 6df97363b8 refactor: display git stash count 2020-10-10 21:17:42 +02:00
Jan De Dobbeleer 09d4c95f15 refactor: reduce git cli calls
should impact #45
2020-10-10 21:17:42 +02:00
Jeroen Evens c2c50f2877 docs: fix bashrc not recognizing oh-my-posh is installed
Bash doesn't seem to recognize oh-my-posh is installed with -f oh-my-posh
using -x "$(command -v oh-my-posh)" fixes this
2020-10-10 19:30:01 +02:00
Jan De Dobbeleer c49a8ee443 feat: env var segment 2020-10-09 20:54:41 +02:00
Jan De Dobbeleer 8978038a3c fix: use PWD for current dir
On Windows, when in the registry, os.Getwd() returns the previous
path rather than the registry location. Settings PWD as an environment
variable might seem hacky but it's the only way to resolve this.

Resolves #40
2020-10-09 08:25:06 +02:00
Jan De Dobbeleer 0b0f3a7fa6 chore: add upgrading docs 2020-10-09 08:25:06 +02:00
Aksel Kvitberg 0b0fd4cb1f feat: show python segment when Jupyter Notebook files are present 2020-10-08 20:34:44 +02:00
Nathan Wykes 59ed9c239f feat: add os segment 2020-10-08 20:14:55 +02:00
Suus 6e66501a0a fix: correct parameter in instructions
Installation instructions mention -o, however -o writes the log file:
       -o logfile
       --output-file=logfile
           Log all messages to logfile.  The messages are normally reported to standard error.
To write the document to an output file, in this case, you could use -O:
       -O file
       --output-document=file
2020-10-08 17:51:58 +02:00
Jan De Dobbeleer 055877ba6b feat: cherry-pick visualization 2020-10-07 21:51:10 +02:00
Jan De Dobbeleer 9f23514268 feat: rebase support 2020-10-07 19:00:23 +02:00
Jan De Dobbeleer 1df8feef10 chore: how to add a segment 2020-10-06 21:13:21 +02:00
Jan De Dobbeleer 24ea32f41c feat: support transparent in color override 2020-10-06 15:52:55 +02:00
Jan De Dobbeleer 41822b81fd refactor: no masters 2020-10-05 19:44:46 +02:00
Jan De Dobbeleer f85057bbf6 feat: add docs 2020-10-05 17:19:05 +02:00