Commit graph

2865 commits

Author SHA1 Message Date
Jan De Dobbeleer 36b58abdf3 fix: untracked is working area only 2020-10-19 09:03:48 +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
Jan De Dobbeleer 03dbee0386 refactor: use Github pages 2020-10-17 20:04:03 +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 2821fe6424 refactor: update default settings 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 374dc74274 refactor: replace spotify 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 dd86c486dd refactor: replace git 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
Jan De Dobbeleer 14e341abb6 chore: remove unused replace statements 2020-10-16 11:18:19 -07:00
Jan De Dobbeleer 86d68700c1 refactor: adjust logo in Powershell 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 57e3b4ab80 chore: add .editorconfig
Add editor formatting for easier adherence to repo standards.

Remove .vscode items that shouldn't be here.
2020-10-15 08:11:09 -07:00
Jan De Dobbeleer ee215b8922 refactor: use go modules 2020-10-15 06:08:47 -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 0e4b8f668b refactor: populate segments in parallel 2020-10-14 19:19:35 +02:00
Jan De Dobbeleer e5213551bd fix: reset colors after rendering prompt
resolves #65
2020-10-14 17:45:02 +02:00
Jan De Dobbeleer 4e8051d423 refactor: update dependencies 2020-10-14 17:45:02 +02:00
Jan De Dobbeleer 9149c1629c fix: use git root path for HEAD logic 2020-10-13 12:39:13 +02:00
Jan De Dobbeleer f281939f93 fix: escape ANSI correctly in bash 2020-10-12 19:42:04 +02:00
Jan De Dobbeleer 9627b905e6 fix: catch error setting encoding outside of console 2020-10-12 16:28:03 +02:00
Jan De Dobbeleer 56468baf4c fix: remove user.current()
relates to #55
2020-10-12 16:09:06 +02:00
Jan De Dobbeleer 56f4bcfd86 refactor: user env for user name
relates to #55
2020-10-12 13:25:27 +02:00
Jan De Dobbeleer 1ef25757d7 refactor: cache cwd 2020-10-12 13:25:27 +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 87e54cac01 refactor(git): add tests 2020-10-11 13:39:38 +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 07c985a680 refactor: show remote gone icon 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 3193487234 fix: improve star theme
relates to #45
2020-10-09 16:23:07 +02:00
Jan De Dobbeleer df739cbb84 chore: rename os properties 2020-10-09 16:23:07 +02:00
Jan De Dobbeleer 7af06ebe92 chore: add theme to issue template 2020-10-09 08:25:06 +02:00
Jan De Dobbeleer 1f8de84278 fix: add HKLM to the registry locations 2020-10-09 08:25:06 +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
Nathan Wykes bc59f7fd04 feat: use os segment in powerlevel10k_classic theme 2020-10-08 20:56:41 +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