1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-05 00:50:08 +00:00
Commit graph

3632 commits

Author SHA1 Message Date
Tadek Teleżyński
582edf200c Add average choice to load extension
This commit adds a functionality to choose if one wants to see 1, 5 or
15 minutes average.

Resolves issue #604
2017-08-17 21:54:26 +02:00
Varun Dey
a62fffa2b1 Updated braces for hyperlink 2017-08-14 16:08:50 +05:30
Paul Frybarger
0f58a4950c similar to PR #472, fixing for awesome font mappings 2017-08-13 01:25:29 +02:00
Ben Hilburn
9f4faf7f21 Merge pull request #596 from eumiro/truncate_to_unique
Add TRUNCATE_TO_UNIQUE shortening dir strategy
2017-08-12 13:52:10 -04:00
Ben Hilburn
e464b4e2a5 Adding reference for truncate_to_unique code. 2017-08-12 13:49:50 -04:00
Ben Hilburn
5923aaf07d README: Slight change to new truncation strategy doc 2017-08-12 13:49:14 -04:00
Ben Hilburn
02332d5962 Merge branch 'master' into next 2017-08-12 13:46:08 -04:00
Ben Hilburn
f8ba6937b9 Merge pull request #594 from belak/fix-prompt-sp
Add back the `prompt_sp` option for zsh >= 5.4.1
2017-08-12 13:19:19 -04:00
Ben Hilburn
6aca483b60 Merge pull request #592 from tippl/dir_write-588
Implemented functionality from dir_writable to dir
2017-08-12 13:17:55 -04:00
Ben Hilburn
d784b1c8dc Cleaning up the dir docs in README 2017-08-12 13:15:29 -04:00
Miroslav Šedivý
73a9ee7c87 add TRUNCATE_TO_UNIQUE shortening dir strategy
This creates the shortest unique path elements that can be unambiguously expanded to the original path.
2017-08-11 22:44:18 +02:00
Kaleb Elwert
99b7ec26b2 Add back the prompt_sp option for zsh >= 5.4.1
In 5.4.1, this option was reset between prompts, so to retain the
previous default behavior, this should be added back.
2017-08-10 11:56:12 -07:00
Richard Tippl
cefe984e3d Documented DIR_SHOW_WRITABLE in README.md 2017-08-10 19:08:33 +02:00
Richard Tippl
c4a1d91118 Added a default value for DIR_SHOW_WRITABLE.
Variable POWERLEVEL9K_DIR_SHOW_WRITABLE is now default set to false.
2017-08-10 17:49:42 +02:00
Richard Tippl
b567ab22c2 Implemented functionality from dir_writable to dir
When variable POWERLEVEL9K_DIR_SHOW_WRITABLE is set to true, dir prompt
will have new state NOT_WRITABLE.

This state will be set when user doesn't have permission to write in
current working directory as in prompt dir_writable.

When mode that allows icons is set, LOCK_ICON is used.
2017-08-10 17:14:13 +02:00
Ben Hilburn
93a1c4d2e8 Merge pull request #581 from docwhat/pr/show-signals
status: show signal name
2017-08-03 15:59:08 -04:00
Ben Hilburn
41b469ed9b Quick fix to next exit code doc in README 2017-08-03 15:52:28 -04:00
Ben Hilburn
50ecdfd57a Merge pull request #584 from giogziro95/patch-1
Update OK_ICON weight to match FAIL_ICON
2017-08-02 11:59:18 -04:00
Ben Hilburn
df9b99c2da Merge pull request #580 from sei40kr/master
Fixed Vi mode indicator issue
2017-08-02 11:56:10 -04:00
Seong Yong-ju
0b298e7df4 Fixed an issue of indicator of Vi mode
Fixed an issue that the indicator of Vi mode won't appear correctly at
first.
2017-07-29 13:45:11 +09:00
Christian Höltje
f93ad073b7 status: show signal name
This makes signal exit status easy to understand.  Instead of just
showing exit code "137", you now see "KILL(-9)".

Based on #580 by @sei40kr (thanks!)
2017-07-27 22:36:11 -04:00
Giorgi Gzirishvili
1ded7c2c90 Update OK_ICON weight to march FAIL_ICON
Fixes #576.
2017-07-28 02:50:31 +04:00
Ben Hilburn
176559a050 Merge pull request #583 from docwhat/pr/rvm-575
rvm: handle -head, etc. more gracefully.
2017-07-27 07:38:37 -04:00
Christian Höltje
be6c032025 rvm: handle -head, etc. more gracefully.
Closes #575
2017-07-26 23:39:49 -04:00
Ben Hilburn
0bcef50e29 Merge pull request #573 from AdrienHorgnies/feature/status-cross-ok-option-set
Update `status` segment to provide additional configuration option, streamline settings flags.
2017-07-26 21:17:02 -04:00
Ben Hilburn
e1442c8e96 Merge pull request #577 from diraol/patch-python-icon-awesome
Fix code-point for Python icon in Awesome fonts.
2017-07-26 20:57:49 -04:00
Diego Rabatone Oliveira
e3530de3dc
Fix reference for python icon.
While using awesome-terminal-fonts it is recommended to use `\ue63c` to
reference python icon instead of `\U1F40D` (that wasn't even working).
Ref:
https://github.com/gabrielelana/awesome-terminal-fonts/issues/38#issuecomment-302939451
2017-07-22 12:51:39 -03:00
Ben Hilburn
45fc45223c Merge pull request #568 from dritter/fix_empty_delimiter
Fix empty delimiter
2017-07-17 14:42:29 -04:00
Ben Hilburn
c7cd2d54cf Merge pull request #541 from golgoth31/next
vpn prompt: change "ip" to "ifconfig" to be used on OSX
2017-07-17 13:33:30 -04:00
AdrienHorgnies
faa5ec9645 document status segment new option set 2017-07-15 21:29:10 +02:00
AdrienHorgnies
a4f1ce990b change status segment option set 2017-07-15 21:28:27 +02:00
Ben Hilburn
c69d45cdcc Merge pull request #569 from docwhat/pr/home-folder-abbr-test
Added tests and replaced a sed call
2017-07-13 11:33:21 -04:00
Ben Hilburn
ba41840ebc Merge pull request #570 from docwhat/pr/docker-known-issues
test-in-docker: show known issues
2017-07-13 11:03:23 -04:00
Ben Hilburn
08426a26d7 Merge pull request #571 from docwhat/pr/merge-master
Merge in commits from master
2017-07-13 11:02:02 -04:00
Christian Höltje
8626d07d60 Merge remote-tracking branch 'origin/master' into pr/merge-master 2017-07-13 00:42:15 -04:00
Christian Höltje
ecc6356e9d test-in-docker: show known issues 2017-07-13 00:39:58 -04:00
Ben Hilburn
82f319d1fb Adding Code of Conduct
Slightly modified version of Contributors Covenant.
2017-07-12 10:33:26 -04:00
Ben Hilburn
40a12d388f Merge pull request #567 from docwhat/pr/docker
test-in-docker: quickly test frameworks in docker
2017-07-12 10:27:45 -04:00
Ben Hilburn
c88cea7f3f Merge pull request #562 from docwhat/pr/cleanup-directory-detection
Cleaned up installation directory detection
2017-07-12 10:13:01 -04:00
Christian Höltje
2f808f8a4e test-in-docker: Support for multiple ZSH versions
-z --zsh can specify one of the versions of ZSH we can get from
   centos and ubuntu
2017-07-12 03:25:48 -04:00
Christian Höltje
aca0f31eb0 Replaced a sed call with pure ZSH 2017-07-12 01:02:46 -04:00
Christian Höltje
0fded47ab5 Added test for POWERLEVEL9K_HOME_FOLDER_ABBREVIATION 2017-07-12 00:54:30 -04:00
Dominik Ritter
a234636982 Fix empty delimiter
Even if the delimiter is empty, the min length should be 1.
This fixes #558
2017-07-12 03:29:31 +02:00
Christian Höltje
df318488c9 test-in-docker: quickly test frameworks in docker
This adds `./test-in-docker` for quickly playing with various frameworks.

All the containers are based off Ubuntu 14.04 which has ZSH 5.0.2.

Thanks to @dritter for figuring out all the framework installation
methods.
2017-07-11 20:41:46 -04:00
Christian Höltje
3bf0f18e26 Cleaned up installation directory detection
- Used ZSH built-in magic to get the installation directory.
- Works with symlinks.
- No longer calls out to external program 'dirname'.
- Fixed issue with spaces in the path.
- No longer leak the variables 'filename' and 'script_location'.
2017-07-11 20:29:01 -04:00
Ben Hilburn
6735c24e62 Merge pull request #547 from D-side/patch-1
Fixed RVM segment for usernames with dashes
2017-07-11 19:39:54 -04:00
Ben Hilburn
92ff579d5b Merge pull request #554 from derekbassett/Prompt_Hang_Kubecontext_Minikube
Fixed prompt hangs on kubectl version command
2017-07-11 19:13:21 -04:00
Derek Bassett
3dddcf519d Resolves issue #553 where prompt hangs on kubectl version. 2017-06-26 13:51:41 -06:00
Pavel Peganov
65c770606b Fixed RVM segment for usernames with dashes
Having a username with a dash, such as mine, `d-side`, currently results in RVM segment displaying the wrong thing, e. g. `side/.rvm/rubies/ruby`. This fixes the issue.
2017-06-11 04:09:00 +03:00
David Sabatie
9a3d2e4ca1 vpn prompt: change "ip" to "ifconfig" to be used on OSX 2017-06-03 20:11:24 +02:00