1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-15 09:30:09 +00:00
Commit graph

1101 commits

Author SHA1 Message Date
Dominik Ritter
c0efe9c342 Performance improvement: Avoid aggregation of data over and over again by extracting a local variable. 2015-11-23 00:11:19 +01:00
Dominik Ritter
7774294113 Performance improvement by calculating the battery percentage with zsh. 2015-11-23 00:09:37 +01:00
Dominik Ritter
4b636d226e Renamed variable. 2015-11-22 00:08:43 +01:00
Dominik Ritter
49a3a3e750 The nvm segment should use the standard node icon (rather than defining an own icon). 2015-11-22 00:04:55 +01:00
Dominik Ritter
351dc84320 Fix for the GO version. 2015-11-21 23:20:38 +01:00
Matthías Páll Gissurarson
df51db1412 added a segment to be able to display the result of a custom command. 2015-11-21 23:11:34 +01:00
Dominik Ritter
727b3e501b Now the script just returns instead of exiting with an errorcode. The reason for this is that users can't log in anymore if the specified a wrong path in POWERLEVEL9K_INSTALLATION_PATH and the script exits. With return not the whole shell is terminated, so users get an ugly prompt, but are still able to modify .zshrc. 2015-11-21 21:29:20 +01:00
Dominik Ritter
a0323b7e80 The installation path of powerlevel9k is now configurable by setting the variable POWERLEVEL9K_INSTALLATION_PATH. The value must be set to the exact location of the powerlevel9k.zsh-theme file (including the file name).
This has only effect if you load your theme as a function and your ZSH version is below 5.0.8.
2015-11-21 21:26:50 +01:00
Dominik Ritter
0aaf999857 For ZSH 5.0.8 whence -v tells also the path to the command. In that case we can use that information to get a proper path to the utility functions. 2015-11-21 21:04:58 +01:00
Ben Hilburn
1eadf5ad76 Merge pull request #152 from Tritlo/battery_fix
Battery segment fix and enhancement.
2015-11-20 16:29:40 -08:00
Ben Hilburn
951a4956fc Merge pull request #150 from Tritlo/prompt_end
Add icon for end of left prompt.
2015-11-20 16:23:20 -08:00
Matthías Páll Gissurarson
36fa3f2277 fix some issues with the battery segment 2015-11-20 12:13:10 +01:00
Matthías Páll Gissurarson
231cfda809 added icon to be able to set the end of the prompt explicitly 2015-11-19 01:04:52 +01:00
Ben Hilburn
e79a2ffff0 Merge pull request #149 from Tritlo/master
Now allowing the RPROMPT to be on a newline.
2015-11-18 10:54:21 -08:00
Ben Hilburn
b83cfd7515 Merge pull request #143 from dritter/segment_deprecation_helpers
Added segment deprecation helper
2015-11-17 12:54:06 -08:00
Ben Hilburn
85fd338d36 Merge pull request #144 from dritter/changelog_additions
Added the new rust segment and the changes to the rvm-segment to changelog
2015-11-17 12:52:46 -08:00
Matthías Páll Gissurarson
47eb8f10ac added variable to have rprompt on the newline 2015-11-17 20:37:59 +01:00
Dominik Ritter
f9957ca559 Used typeset to define the local array. This does the trick on linux. 2015-11-17 18:34:18 +01:00
Dominik Ritter
009b0e51a2 Added the new rust segment and the changes to the rvm-segment to changelog. 2015-11-17 01:41:44 +01:00
Dominik Ritter
ce7b99cdaf Added a mechanism to make deprecated segments visible to the user. 2015-11-17 01:39:49 +01:00
Ben Hilburn
9b067ea29c Merge pull request #142 from dritter/rust_version
Added Rust version segment.
2015-11-16 09:10:58 -08:00
Ben Hilburn
77c31e17d1 Merge pull request #141 from dritter/improve_rvm_performance
Huge performance improvement if you use `rvm` segment.
2015-11-16 09:04:48 -08:00
Dominik Ritter
37113bc120 Added documentation. 2015-11-15 23:53:10 +01:00
Dominik Ritter
c81863e234 Add an Identifier to version. 2015-11-15 23:46:17 +01:00
Dominik Ritter
5d314bec8e Add segment for rust version. 2015-11-15 23:46:17 +01:00
Dominik Ritter
643555a30c Huge performance improvement if you use rvm segment.
Thanks to @rjorgenson for the hint.
2015-11-15 23:35:15 +01:00
Ben Hilburn
0673352e7e Merge branch 'master' into next 2015-11-13 09:49:39 -08:00
Ben Hilburn
6d3899b6e3 Merge pull request #139 from sdupille/master
Get terminal capabilities using a zsh builtin for portability
2015-11-13 09:48:53 -08:00
Ben Hilburn
2e8f00342a Merge pull request #112 from dritter/color_detection
Moved many sub-functions out of main theme file. Also improved color detection.
2015-11-13 09:47:17 -08:00
Stéphane Dupille
81a4b3907d Get terminal capabilities using a zsh builtin for portability 2015-11-13 12:06:03 +01:00
Ben Hilburn
04319d3a95 Merge pull request #136 from dritter/hotfix/131-key-fixes
Issue #131: This fixes history-substring-search, home and end keys.
2015-11-12 09:58:23 -08:00
Dominik Ritter
eef5286005 Issue #131: This fixes history-substring-search, home and end keys. 2015-11-11 22:45:23 +01:00
Dominik Ritter
538d8b8fa8 Bugfix for prezto: In prezto the theme gets called by function (via zstyle). In that case we hardcode the path to the theme as there seems no way to find the location so that we can source our other functions. 2015-11-07 16:32:48 +01:00
Ben Hilburn
0ff3b3660e Merge pull request #134 from dritter/changelog_added
Adding a CHANGELOG
2015-11-04 11:13:31 -08:00
Dominik Ritter
3afbd5e994 Added a CHANGELOG. 2015-11-04 19:53:56 +01:00
Dominik Ritter
29693f957d If the theme-file is linked, dereference that link and source the right functions. 2015-11-04 00:40:11 +01:00
Dominik Ritter
0fa635275c Extracted color functions to a separate file. 2015-10-24 01:05:37 +02:00
Dominik Ritter
2b8cb5b9a4 Extracted VCS-hooks into a separate file. 2015-10-24 00:05:15 +02:00
Dominik Ritter
d6584e13da Extracted icons into a separate file. 2015-10-23 23:42:59 +02:00
Dominik Ritter
fbd1b99bab Renamed "power-utilities.zsh" to just "utilities.zsh". 2015-10-23 23:39:50 +02:00
Dominik Ritter
23f86afeb3 Merge branch 'next' into color_detection 2015-10-22 10:10:15 +02:00
Ben Hilburn
e8771a7039 Merge branch 'master' into next 2015-10-21 16:59:59 -07:00
Ben Hilburn
b2e6beec51 Merge pull request #123 from martinpelikan/master
Fixes #122, SI prefixes should be evaluated as strings.
2015-10-21 16:54:10 -07:00
Ben Hilburn
84681d4cc1 Merge pull request #126 from rjorgenson/next
added a prompt segment to display battery status on laptops
2015-10-21 16:53:32 -07:00
Ben Hilburn
981c85af39 Merge pull request #127 from dritter/go_prompt
Adding Go version segment.
2015-10-21 16:51:44 -07:00
Ben Hilburn
43d8b34a21 Merge pull request #128 from DanielGGordon/master
Rephrasing of error message when TERM not 256 color
2015-10-21 16:50:38 -07:00
Ben Hilburn
15670379ed Merge pull request #129 from dritter/ram_prompt
Breaking RAM and Swap out of load segment into their own segment.
2015-10-21 16:50:03 -07:00
Dominik Ritter
09bd1f6182 Added documentation. 2015-10-20 00:37:17 +02:00
Dominik Ritter
d13d9565bc Merge branch 'next' into ram_prompt 2015-10-20 00:25:16 +02:00
Daniel Gordon
fa85a5158f Rephrasing of error message when TERM not 256 color
- Literal command to be added is highlighted in blue
    - Now beginners won't try to add an incorrect command to ~/.zshrc
2015-10-19 13:02:24 -05:00