Commit graph

25 commits

Author SHA1 Message Date
Jan De Dobbeleer ed2eac8e12 feat: adjust source code layout 2020-12-25 20:11:24 +01:00
Jan De Dobbeleer 78b7270b4c fix: do not go below 0 for execution time 2020-12-12 13:45:04 +01:00
TravisTX 5f7b1f6ac6 feat: execution time segment 2020-12-08 09:05:22 +01:00
Jan De Dobbeleer 2a33b51f00 fix: use correct folder to fetch git info for 2020-12-01 20:49:51 +01:00
Kyle Crowley 870af53d35 feat: youtube music desktop app integration
resolves #170
2020-12-01 20:49:51 +01:00
Jan De Dobbeleer 408b94fcd4 feat: faster command time 2020-11-19 19:47:10 +01:00
Jan De Dobbeleer 8fb190e074 refactor: linting checks for all platforms 2020-11-12 14:04:52 +01:00
lnu 96cac5f689 feat: spotify segment for windows 2020-11-10 19:53:32 +01:00
Jan De Dobbeleer 898a8f44e1 fix: show nu as shell on Windows
relates to https://github.com/nushell/nushell/issues/2703
2020-11-02 18:53:01 +01:00
Nathan Wykes 9c1bf12c82 refactor: swap go-ps for gopsutil 2020-10-23 19:44:10 +02:00
Nathan Wykes 9ccf376d61 feat: add wsl capability to os segment 2020-10-22 07:23:47 +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 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 07c985a680 refactor: show remote gone icon 2020-10-10 21:17:42 +02:00
Jan De Dobbeleer 3193487234 fix: improve star theme
relates to #45
2020-10-09 16:23:07 +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 9f23514268 feat: rebase support 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
Jan De Dobbeleer 66941ddb43 fix: correct cross platform home location
resolves #24
2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 758afdd83e feat: node segment 2020-10-05 17:19:05 +02:00
Jan De Dobbeleer 6c17689966 refactor: format shell name better 2020-09-24 19:34:19 +02:00
Jan De Dobbeleer 5c4af19d90 feat: add shell info segment 2020-09-16 10:46:50 +02:00
Jan De Dobbeleer c4d1c75781 feat: initial commit 2020-09-12 08:57:18 +02:00