Age | Commit message (Collapse) | Author |
|
* refactor(gcloud): lazily read active config once
* refactor(gcloud): wrap gcloud config with `GcloudContext`
|
|
* Add support for `reverse` keyword in style strings
* Duplicate test case and keep original
* Rename keyword to `inverted`
* Add explanatory sentence in readme
|
|
* feat(nodejs): Check for `.nvmrc`
* Fix test
|
|
|
|
* create module
* fmt
* fix clippy
* fmt even though i already did it
* add all extensions
* tests for .reds
* change from circle to triangle
* remove hi.red
* fix test name
* update variables
* fix comment
* Update docs/config/README.md
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
* Update docs/config/README.md
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
* apply patchs
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
|
|
* Handle zero jobs with negative thresholds
* Allow for zero threshold only
* Log when threshold is less than zero
* Address comments
* Add docs
|
|
* feat: Add a symbol option to `battery.display`
* feat: Add a symbol option to `battery.display`
* use `impl defaulat` instead of `RootModuleConfig`
* edit the code according to clippy's linting
* change variable type to `Option<'a str>`
* update the documentation on the battery module
* updated documentation and source code according to review comment
* remove the unnecessary method and write the default value of BatteryDisplayConig to the document
* add 'charging_symbol' option to battery.display
|
|
* Add deno module
* Update docs
* Update src/utils.rs
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
* Update src/modules/deno.rs
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
* Update src/modules/deno.rs
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
* Update src/modules/deno.rs
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
* Update src/modules/deno.rs
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
* run rust fmt
* Use deno -V
* fmt
* Fix deno module
* do clippy
* Update src/configs/deno.rs
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
* Update src/modules/deno.rs
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
* Update docs/config/README.md
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
* Fix test and docs
* Remove unused code
* fmt
* update configs
* Add more tests
* Update docs/config/README.md
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
|
|
|
|
|
|
|
|
* refactor: propagate version formatting errors
* refactor: trim version formatting boilerplate
* refactor(node): unwrap version formatting
* docs: fix typo
* docs: remove dots after `version_format`
* feat: lazy version parsing
* refactor(version-formatter): collect segments into string
|
|
|
|
|
|
* feat(config): print a suggestion for unknown fields
* Fix typo
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
|
|
* refactor(init): cleanup init stub
* refactor(init): use iex PowerShell alias
* fix(init): prevent bash scope pollution
* refactor(init): update PowerShell snippet
|
|
* Remove parentheses from pyvenv.cfg prompt
* Apply suggestions from initial code review
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
|
|
|
|
* style(battery): add space between icon and text for better visual
* docs(battery): update docs
Co-authored-by: LitoMore <litomore@gmail.com>
|
|
* feat(ocaml): add switch variable
* feat(ocaml): configurable opam switch display
* docs(ocaml): document opam switch display options
Add `global_switch_indicator` and `local_switch_indicator` config
options.
* style(opam): add `OpamSwitch` type alias
* fix(opam): gracefully handle empty opam switch
Co-authored-by: cdaringe <cdaringe@gmail.com>
|
|
Have added some comments to explain the settings we are using in some
tests.
|
|
Co-authored-by: Kim Christensen <KMCH@simcorp.com>
|
|
|
|
|
|
* feat: allow printing default and computed config
* fix custom modules
* actually fix custom modules
|
|
* feat(vcsh): Implement new VCSH module
* test(vcsh): Add unit tests for VCSH module
* docs(vcsh): Document VCSH module
|
|
|
|
|
|
|
|
|
|
* style(init): Cleanup the unknown shell message
Have make a small change to the message that is printed when an unknow
shell is used. This correct the placement of the trailing `"` so that
the two training new lines are correctly printed and updates the list of
supported shells.
* refactor(init): consolidate unknown shell errors
Have consolidated the two unknown shell errors
* refactor(init): Quote the shell name in the output
Quote the shell name in the script and combined the shell_name and
shell_basename to simplify the code a little.
|
|
|
|
Co-authored-by: Chris Rose <offline@offby1.net>
|
|
Previously attempting to use conditional format strings with
`$indicator` would never display an indicator, e.g.:
```toml
[shell]
fish_indicator = ""
bash_indicator = "B "
format = "($indicator )"
disabled = false
```
This would always display an empty string.
Fixes #2474.
|
|
|
|
* refactor(dotnet): ".NET" instead of "•NET"
"•NET" looks quite weird, especially since the official writing is ".NET".
* revert(docs): translated docs
Co-authored-by: Eyal Cherevatzki <eyal@hyperguest.com>
|
|
|
|
No need to forcefully set the `PROMPT` variable every time the prompt is
to be shown. Just set it once, leaving the command to be evaluated every
time the prompt is to be shown, by enabling the `promptsubst` option.
Setting it once is also friendlier to users that want to experiment with
another prompt theme by temporarily setting `PROMPT` to something else.
This would currently not be possible, because the variable is always
reset before every prompt draw (precmd) and keymap change
(zle-keymap-select).
Some other updates to take better advantage of the zsh script dialect:
* `$` is not required to read variables inside `(( ))` arithmetic
expressions.
* The zsh dialect to check if a variable is set is `${+var}`. Better
than `${var+1}`, which substitutes 1 if var is set, which is
intended for more general substitutions, not just to check if var is
set.
* The number of jobs can be read using the `%j` escape sequence, which
is expanded when the `promptpercent` option is set.
Also simplified a couple of code lines by avoiding a temporary
`STARSHIP_START_TIME` variable, since we already have
`STARSHIP_CAPTURED_TIME`.
|
|
|
|
* Add support for scala ( w/o sbt )
* Add scala description
* Change scala color to bold red
* update scala extensions in README
* failed lint
* cr changes ( regex, simplify parsing, imports )
* Scala readme punctuation
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
|
|
* fix(python): Handle PyPy python version correctly
* refactor: rework Python version retrieval and formatting
Align Python version retrieval and formatting with established
Starship conventions.
|
|
* fix(java): use consistent separators for java path
This switches us from just appending `/bin/java` to `$JAVA_HOME` to
treating `$JAVA_HOME` as a path. This should fix any issues on Windows
where $JAVA_HOME might use `\` rather than `/`.
* test(java): add test for JAVA_HOME
* refactor: remove duplicate defaults
* perf: sligntly better java path perf
* Update src/modules/java.rs
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
* Update src/modules/java.rs
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
* Update src/modules/java.rs
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
Co-authored-by: Dario Vladović <d.vladimyr@gmail.com>
|
|
|
|
|
|
and also after the symbol when using the Nerd font glyph.
|
|
* fix(bash): escape interpretable characters
* also escape backticks
|
|
* feat: add support for tcsh
* add tcsh to install.sh install message
* list tcsh in bug_report.rs and main.rs
* quote starship path
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
* fix job count
* add tcsh support to shell module
* fix STARSHIP_START_TIME undefined error
* preserve existing user precmd and postcmd, remove jobs support
* remove unnecessary parentheses
* minor script improvement
* removes parens from install script message
* Update docs/config/README.md
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
Co-authored-by: David Knaack <davidkna@users.noreply.github.com>
Co-authored-by: Thomas O'Donnell <andytom@users.noreply.github.com>
|
|
The unicode hexagon symbol does not actually fit into a single column with a
fixed-width font. does. As starship requires a nerd font as a prerequisite,
it's safe to assume that this symbol is available.
Symbol link: https://www.nerdfonts.com/cheat-sheet?set=nf-mdi-nodejs
In the documentation, I've left the '⬢' symbols in '#### Text Group' as
they are, as they will continue displaying correctly in a browser
without a nerd font available. I feel like readability is more important
than consistency with the new nodejs symbol, especially as this
documentation section does not actually refer to nodejs, rather it's
just a symbol.
As `⬢` has been replaced, use `⌘` instead in documentation to avoid
any possible confusion
|
|
This makes it possible to configure when the helm module is shown based
on the contents of a directory.
|
|
This makes it possible to configure when the java module is shown
based on the contents of a directory.
|