Commit graph

542 commits

Author SHA1 Message Date
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
Jan De Dobbeleer f85057bbf6 feat: add docs 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 20a2510051 refactor: update README 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 71d84e64df fix: do not run shell command when shell isn't available 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer d3207328e5 refactor: hello world oh-my-posh3 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 1a52aa9b04 refactor: rename session properties for clarity 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 10e42db42c refactor: add root to jandedobbeleer 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer f534f020af fix: correctly show admin icon 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer c99d7585e7 refactor: use Pastel colors for jandedobbeleer 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 73959b1dc0 fix: correct ending for powerlevel10k_classic 2020-10-05 17:19:05 +02:00