Commit graph

282 commits

Author SHA1 Message Date
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