Commit graph

1751 commits

Author SHA1 Message Date
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
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 e0adc584e5 feat: git HEAD context 2020-10-07 19:00:23 +02:00
nwykes dabc9d4f20 feat: session segment updates
only display UserInfoSeparator if both username and hostname are dislayed
cleanHostName only if it ends with garbage instead of contains.
  fixes .localdomain having just .local stripped
add .localdomain to garbage
2020-10-07 17:52:25 +02:00
nwykes 529fc75e9b fix: right prompt in zsh 2020-10-07 07:08:25 +02:00
Jan De Dobbeleer 1df8feef10 chore: how to add a segment 2020-10-06 21:13:21 +02:00
Jan De Dobbeleer 534805a39f chore: add issue templates 2020-10-06 21:13:21 +02:00
Jan De Dobbeleer 3d2f0ab0ef chore: add contributing guidelines 2020-10-06 21:13:21 +02:00
Nathan Wykes ef4c813870 fix: powerlevel10k_classic background 2020-10-06 17:06:35 +02:00
Jan De Dobbeleer 3998d59ef2 fix: themes correctness 2020-10-06 15:52:55 +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 bb59f0eb64 refactor: properly rename themes dir 2020-10-05 19:26:59 +02:00