-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample-zshrc-for-powerlevel9k.sh
executable file
·1160 lines (952 loc) · 42.4 KB
/
sample-zshrc-for-powerlevel9k.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!usr/bin/env zsh
# vim:ft=zsh ts=4 sw=4 noet fenc=utf-8
###########################################################################
# @title POWERLEVEL9K Sample configuration file
#
# @source https://github.com/bhilburn/powerlevel9k
#
# @author [onaforeignshore](https://github.com/onaforeignshore)
#
# @version Last update: April 22, 2017
#
# @info
# Please note:
#
# - This configuration uses tab size 4 and no spaces.
#
# - Everything is commented out, as this file is meant for you to
# customize the settings to your liking. Simply uncomment the
# applicable line to set your overrides.
#
# - I use a "Nerd" font, so the unicode characters in this file
# may not render correctly if you do not use a nerd font.
#
# For troubleshooting, please refer to the
# [wiki](https://github.com/bhilburn/powerlevel9k/wiki/Troubleshooting)
#
##
#=======================================
# TABLE OF CONTENTS
#=======================================
#
# === GENERAL INFORMATION
# --- Segment Color Customization
# --- Special Segment Colors
# --- Visual Identifiers For Segments
# --- Glue Segments Together
# === GENERAL SETTINGS
# === FONT SUPPORT
# === PROMPT CONFIGURATION
# === SYSTEM STATUS SEGMENTS
# *** background_jobs
# *** battery
# *** context
# *** dir
# *** dir_writable - no additional settings
# *** disk_usage
# *** history - no additional settings
# *** host - no additional settings
# *** ip
# *** load - no additional settings
# *** os_icon
# *** public_ip
# *** ram
# *** root_indicator
# *** ssh - no additional settings
# *** status
# *** swap - no additional settings
# *** time
# *** user - no additional settings
# *** vi_mode
# === DEVELOPMENT ENVIRONMENT SEGMENTS
# *** vcs
# *** vcs symbols
# === LANGUAGE SEGMENTS
# --- GoLang Segments
# *** go_version - no additional settings
# --- Javascript / Node.js Segments
# *** node_version - no additional settings
# *** nodeenv - no additional settings
# *** nvm - no additional settings
# --- PHP Segments
# *** php_version - no additional settings
# *** symfony_tests - no additional settings
# *** symfony_version - no additional settings
# --- Python Segments
# *** virtualenv - no additional settings
# *** anaconda
# *** pyenv - no additional settings
# --- Ruby Segments
# *** chruby - no additional settings
# *** rbenv - no additional settings
# *** rspec_stats - no additional settings
# --- Rust Segments
# *** rust_version - no additional settings
# --- Swift Segments
# *** swift_version - no additional settings
# === CLOUD SEGMENTS
# --- AWS Segments
# *** aws
# *** aws_eb_env - no additional settings
# --- Docker Segments
# *** docker_machine - no additional settings
# === OTHER SEGMENTS
# *** command_execution_time
# *** custom_command
# === MY CUSTOM SEGMENTS
# === COLOR SCHEMES
# === MY THEME OVERRIDES: COLORS
# --- SYSTEM STATUS SEGMENTS
# *** background_jobs
# *** battery
# *** context
# *** date
# *** dir
# *** dir_writeable
# *** disk_usage
# *** history
# *** ip
# *** load
# *** os_icon
# *** public_ip
# *** ram
# *** ssh
# *** status
# *** swap
# *** time
# *** todo
# *** vi_mode
# --- DEVELOPMENT ENVIRONMENT SEGMENTS
# *** vcs
# --- PHP Segments
# *** symfony_tests
# --- Python Segments
# *** anaconda
# --- Ruby Segments
# *** rspec_stats
# --- OTHER SEGMENTS
# *** command_execution_time
# --- My Custom Segments
# === MY THEME OVERRIDES: ICONS
# *** Separators and Icons
# *** General Icons
# --- SYSTEM STATUS SEGMENTS
# *** background_jobs
# *** battery
# *** date
# *** dir
# *** dir_writeable
# *** disk_usage
# *** history
# *** host
# *** ip
# *** load
# *** os_icon
# *** public_ip
# *** ram
# *** root_indicator
# *** ssh
# *** swap
# *** time
# *** todo
# *** user
# --- Development Environment Segments
# --- Javascript / Node.js Segments
# --- PHP Segments
# *** symfony_tests
# --- Python Segments
# --- Ruby Segments
# *** rspec_stats
# --- Rust Segments
# --- Swift Segments
# --- AWS Segments
# *** aws
# --- Docker Segments
# *** docker_machine
# --- OTHER SEGMENTS
# *** execution_time
# *** cursor shape
# === PROMPT CUSTOMIZATION
# === LOADING POWERLEVEL9K
# --- Option 1: Install for Vanilla ZSH
# --- Option 2: Install for Oh-My-ZSH
# --- Option 3: Install for Prezto
# --- Option 4: Install for antigen
# --- Option 5: Install for Zplug
# --- Option 6: Install for Zgen
# --- Option 7: Install for Antibody
# --- Option 8: Install for ZPM
# --- Option 9: Install for ZIM
#
#=======================================
# GENERAL INFORMATION
#=======================================
#---------------------------------------
# Segment Color Customization
#---------------------------------------
#
# For each segment in your prompt, you can specify a foreground and background color by setting them in your ~/.zshrc.
#
# Format:
# POWERLEVEL9K_<segment>_FOREGROUND=""
# POWERLEVEL9K_<segment>_BACKGROUND=""
#
# Example:
# POWERLEVEL9K_TIME_FOREGROUND="red"
# POWERLEVEL9K_TIME_BACKGROUND="021" # Dark blue
#
# For the default color, you can use "$DEFAULT_COLOR".
# You can use color values, eg. "red", "blue", etc.
# You can also use colorcode values. For a full list of supported colors, run this little code in your terminal:
#
# for code ({000..255}) print -P -- "$code: %F{$code}This is how your text would look like%f"
#
# You can also set a segment to be printed in bold by setting the option to 'true'.
#
# Format:
# POWERLEVEL9K_<segment>_BOLD=
#
# Example:
# POWERLEVEL9K_TIME_BOLD=true
#
#---------------------------------------
# Special Segment Colors
#---------------------------------------
#
# Some segments have state. For example, if you become root, or modify a file in your version control system, segments
# try to reflect this fact by changing the color. For these segments you still can modify the color to your needs by
# setting a variable like POWERLEVEL9K_<name-of-segment>_<state>_BACKGROUND. Segments with state are:
#
# SEGMENT STATES
# battery LOW, CHARGING, CHARGED, DISCONNECTED
# context DEFAULT, ROOT
# dir HOME, HOME_SUBFOLDER, DEFAULT
# load CRITICAL, WARNING, DEFAULT
# rspec_stats STATS_GOOD, STATS_AVG, STATS_BAD
# status ERROR, OK (note: only, if verbose is not false)
# symfony_tests TESTS_GOOD, TESTS_AVG, TESTS_BAD
# vcs CLEAN, UNTRACKED, MODIFIED
# vi_mode NORMAL, INSERT
#
# Format:
# POWERLEVEL9K_<segment>_<state>_FOREGROUND=""
# POWERLEVEL9K_<segment>_<state>_BACKGROUND=""
#
# Example:
# POWERLEVEL9K_VCS_CLEAN_FOREGROUND="blue"
# POWERLEVEL9K_VCS_CLEAN_BACKGROUND="black"
# POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND="yellow"
# POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND="black"
# POWERLEVEL9K_VCS_MODIFIED_FOREGROUND="red"
# POWERLEVEL9K_VCS_MODIFIED_BACKGROUND="black"
#
# # Advanced `vi_mode` color customization
# POWERLEVEL9K_VI_MODE_INSERT_FOREGROUND="teal"
#
#---------------------------------------
# Visual Identifiers For Segments
#---------------------------------------
#
# Most segment have a so called "visual identifier" which is an icon or string that serves as a "logo" for the
# segment. This identifier is displayed on the left side for left configured segments and on the right for right
# configured segments.
#
# Let's assume you have configured the load segment. This segment can have different states (CRITICAL, WARNING and
# NORMAL). Now, we want to display the segment in black and white and colorize only the visual identifier.
#
# Format:
# POWERLEVEL9K_<segment>_<state>_VISUAL_IDENTIFIER_COLOR=""
#
# Example:
# # Segment in black and white
# POWERLEVEL9K_LOAD_CRITICAL_BACKGROUND="black"
# POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND="white"
# POWERLEVEL9K_LOAD_WARNING_BACKGROUND="black"
# POWERLEVEL9K_LOAD_WARNING_FOREGROUND="white"
# POWERLEVEL9K_LOAD_NORMAL_BACKGROUND="black"
# POWERLEVEL9K_LOAD_NORMAL_FOREGROUND="white"
# # Colorize only the visual identifier
# POWERLEVEL9K_LOAD_CRITICAL_VISUAL_IDENTIFIER_COLOR="red"
# POWERLEVEL9K_LOAD_WARNING_VISUAL_IDENTIFIER_COLOR="yellow"
# POWERLEVEL9K_LOAD_NORMAL_VISUAL_IDENTIFIER_COLOR="green"
#
#---------------------------------------
# Glue Segments Together
#---------------------------------------
#
# It is possible to display two segments as one, by adding _joined to your segment definition. The segments are always
# joined with their predecessor, so be sure that this is always visible. Otherwise you may get unwanted results. For
# example, if you want to join status and background_jobs in your right prompt together, set:
#
# POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status background_jobs_joined)
#
# This works with every segment, even with custom ones and with conditional ones.
#
#=======================================
# GENERAL SETTINGS
#=======================================
# Uncomment this line for ZIM installations
#POWERLEVEL9K_INSTALLATION_PATH=~/.zim/modules/prompt/external-themes/powerlevel9k/powerlevel9k.zsh-theme
# Uncomment this line for Antigen installations
#POWERLEVEL9K_INSTALLATION_PATH=$ANTIGEN_BUNDLES/bhilburn/powerlevel9k
#=======================================
# FONT SUPPORT
#=======================================
# NOTE:
# To use the features below, you have to install the font and make it the default font in your terminal emulator.
# For installation instructions for Powerline Fonts
# See: https://powerline.readthedocs.org/en/latest/installation/linux.html#fonts-installation
# Uncomment if you are using Awesome Powerline Font, and you prefer flat segment transitions
#POWERLEVEL9K_MODE="flat"
# Uncomment if you are using Awesome Terminal Font
# See: https://github.com/gabrielelana/awesome-terminal-fonts
#POWERLEVEL9K_MODE="awesome-fontconfig"
# Uncomment if you are using Awesome Patched Font
# See: https://github.com/gabrielelana/awesome-terminal-fonts/tree/patching-strategy/patched
#POWERLEVEL9K_MODE="awesome-flat"
# Uncomment if you are using a Nerd supported font
# See: https://github.com/ryanoasis/nerd-fonts
#POWERLEVEL9K_MODE="nerdfont-fontconfig"
#=======================================
# PROMPT CONFIGURATION
#=======================================
# multiline prompt
#POWERLEVEL9K_PROMPT_ON_NEWLINE=true # double line prompt
#POWERLEVEL9K_RPROMPT_ON_NEWLINE=true # place the right prompt on second line
#POWERLEVEL9K_MULTILINE_FIRST_PROMPT_PREFIX=""
#POWERLEVEL9K_MULTILINE_SECOND_PROMPT_PREFIX=""
#POWERLEVEL9K_PROMPT_ADD_NEWLINE=true # new line before prompt
#POWERLEVEL9K_DISABLE_RPROMPT=true # disable the right prompt
# segment/sub segment separators
#POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='\uE0B0' #
#POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='\uE0B2' #
#POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR='\uE0B1' #
#POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR='\uE0B3' #
#=======================================
# SYSTEM STATUS SEGMENTS
#=======================================
# ***** background_jobs *****
# If there is more than one background job, this segment will show the number of jobs. Set this to false to turn this feature off.
POWERLEVEL9K_BACKGROUND_JOBS_VERBOSE=true
# ***** battery *****
# This segment will display your current battery status (fails gracefully on systems without a battery). It is
# supported on both OSX and Linux (note that it requires acpi on Linux).
POWERLEVEL9K_BATTERY_LOW_THRESHOLD=10 # Threshold to consider battery level critical.
#POWERLEVEL9K_BATTERY_VERBOSE=true # Display time remaining next to battery level.
# ***** context *****
# The context segment (user@host string) is conditional. By default, it will only print if you are not your "normal"
# user (including if you are root), or if you are SSH"d to a remote host.
#
# To use this feature, make sure the context segment is enabled in your prompt elements (it is by default), and define
# a DEFAULT_USER in your ~/.zshrc.
#export DEFAULT_USER="$User" # Username to consider a "default context" (you can also
# set $USER).
#POWERLEVEL9K_ALWAYS_SHOW_CONTEXT=true # Always show this segment, including $USER and hostname.
#POWERLEVEL9K_ALWAYS_SHOW_USER=true # Always show the username, but conditionalize the
# hostname.
#POWERLEVEL9K_CONTEXT_TEMPLATE="%n@%m" # Default context prompt (username@machine).
# Refer to the ZSH Documentation for all possible expansions, including deeper host depths.
# You can customize the context segment. For example, you can make it to print the full hostname by setting
#POWERLEVEL9K_CONTEXT_TEMPLATE="%n@`hostname -f`"
#POWERLEVEL9K_CONTEXT_HOST_DEPTH= # variable to change how the hostname is displayed.
# See (ZSH Manual)[http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Login-information] for details.
# The default is set to %m which will show the hostname up to the first ‘.’ You can set it to %{N}m where N is an
# integer to show that many segments of system hostname. Setting N to a negative integer will show that many segments
# from the end of the hostname.
# ***** dir *****
# The dir segment shows the current working directory. When using the "Awesome Powerline" fonts, there are additional
# glyphs, as well
#POWERLEVEL9K_SHORTEN_DIR_LENGTH=3 # If your shorten strategy, below, is entire directories,
# this field determines how many directories to leave at
# the end. If your shorten strategy is by character count,
# this field determines how many characters to allow per
# directory string.
#POWERLEVEL9K_SHORTEN_STRATEGY="Default" # How the directory strings should be truncated. See the
# table below for more informations.
#POWERLEVEL9K_SHORTEN_DELIMITER=".." # Delimiter to use in truncated strings. This can be any
# string you choose, including an empty string if you wish
# to have no delimiter.
#POWERLEVEL9K_SHORTEN_DELIMITER="\u2026" # …
#
# Strategy Name Description
# ------------- -----------
# Default Truncate whole directories from left. How many is defined by
# POWERLEVEL9K_SHORTEN_DIR_LENGTH
# truncate_middle Truncates the middle part of a folder. E.g. you are in a folder named
# "/MySuperProjects/AwesomeFiles/BoringOffice", then it will truncated to
# "/MyS..cts/Awe..les/BoringOffice", if POWERLEVEL9K_SHORTEN_DIR_LENGTH=3 is also
# set (controls the amount of characters to be left).
# truncate_from_right Just leaves the beginning of a folder name untouched. E.g. your folders will be
# truncated like so: "/ro../Pr../office". How many characters will be untouched is
# controlled by POWERLEVEL9K_SHORTEN_DIR_LENGTH.
# truncate_with_package_name Search for a package.json or composer.json and prints the name field to
# abbreviate the directory path. The precedence and/or files could be set by
# POWERLEVEL9K_DIR_PACKAGE_FILES=(package.json composer.json). Please note that
# this currently looks for .git directory to determine the root of the project.
# truncate_with_folder_marker Search for a file that is specified by POWERLEVEL9K_SHORTEN_FOLDER_MARKER and
# truncate everything before that (if found, otherwise stop on $HOME and ROOT).
#
# Double quotes are important here!
#POWERLEVEL9K_DIR_PATH_SEPARATOR="%F{red} $(print_icon "LEFT_SUBSEGMENT_SEPARATOR") %F{black}"
# customize the directory separator
#POWERLEVEL9K_DIR_OMIT_FIRST_CHARACTER=true # omit the first character (usually a slash
# that gets replaced if you set
# POWERLEVEL9K_DIR_PATH_SEPARATOR)
#POWERLEVEL9K_HOME_FOLDER_ABBREVIATION="~"
# ***** dir_writable - no additional settings *****
# Displays a lock icon, if you do not have write permissions on the current folder.
# ***** disk_usage *****
# The disk_usage segment will show the usage level of the partition that your current working directory resides in.
#POWERLEVEL9K_DISK_USAGE_ONLY_WARNING=false # Hide the segment except when usage levels have hit
# warning or critical levels.
#POWERLEVEL9K_DISK_USAGE_WARNING_LEVEL=90 # The usage level that triggers a warning state.
#POWERLEVEL9K_DISK_USAGE_CRITICAL_LEVEL=95 # The usage level that triggers a critical state.
# ***** history - no additional settings *****
# The command number for the current line.
# ***** host - no additional settings *****
# This segment displays the current host.
# ***** ip *****
# This segment tries to examine all currently used network interfaces and prints the first address it finds.
#POWERLEVEL9K_IP_INTERFACE="None" # The NIC for which you wish to display the IP address.
# Example: eth0.
# ***** load - no additional settings *****
# Your machine"s load averages.
# ***** os_icon *****
# Display a nice little icon, depending on your operating system.
# ***** public_ip *****
#This segment will display your public IP address. There are several methods of obtaining this information and by
# default it will try all of them starting with the most efficient. You can also specify which method you would like
# it to use. The methods available are dig using opendns, curl, or wget. The host used for wget and curl is
# http://ident.me by default but can be set to another host if you prefer.
#POWERLEVEL9K_PUBLIC_IP_FILE="/tmp/p8k_public_ip" # This is the file your public IP is cached in.
#POWERLEVEL9K_PUBLIC_IP_HOST="http://ident.me" # This is the default host to get your public IP.
#POWERLEVEL9K_PUBLIC_IP_TIMEOUT=300 # The amount of time in seconds between refreshing your
# cached IP.
#POWERLEVEL9K_PUBLIC_IP_METHODS=(dig curl wget) # These methods in that order are used to refresh your IP.
#POWERLEVEL9K_PUBLIC_IP_NONE="None" # The string displayed when an IP was not obtained
# ***** ram *****
# Show free RAM.
POWERLEVEL9K_RAM_ELEMENTS="Both" # Specify ram_free or swap_used to only show one or the
# other rather than both.
# ***** root_indicator *****
# An indicator if the user has superuser status.
# ***** ssh - no additional settings *****
# Indicates whether or not you are in an SSH session.
# ***** status *****
# This segment shows the return code of the last command.
POWERLEVEL9K_STATUS_VERBOSE=false # show the error code when the last command returned an
# error and optionally hide this segment when the last
# command completed successfully by setting
# POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE to false.
#POWERLEVEL9K_STATUS_OK_IN_NON_VERBOSE=true # show this segment when the last command completed
# successfully in non-verbose mode.
# ***** swap - no additional settings *****
# Prints the current swap size.
# ***** time *****
# Show system time.
#POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%}" # ZSH time format to use in this segment.
#POWERLEVEL9K_TIME_FORMAT="%D{%S:%M:%H}" # Reversed time format
#POWERLEVEL9K_TIME_FORMAT="%D{%H:%M:%S \uf073 %d.%m.%y}" # Output time, date, and a symbol from the "Awesome
# Powerline Font" set
# ***** user - no additional settings *****
# This segment displays the current user.
# ***** vi_mode *****
# This segment shows ZSH"s current input mode. Note that this is only useful if you are using the ZSH Line Editor (VI
# mode). You can enable this either by .zshrc configuration or using a plugin, like Oh-My-Zsh"s vi-mode plugin.
#POWERLEVEL9K_VI_INSERT_MODE_STRING="INSERT" # # String to display while in "Insert" mode.
#POWERLEVEL9K_VI_COMMAND_MODE_STRING="NORMAL" # # String to display while in "Command" mode.
#=======================================
# DEVELOPMENT ENVIRONMENT SEGMENTS
#=======================================
# ***** vcs *****
# By default, the vcs segment will provide quite a bit of information.
#POWERLEVEL9K_HIDE_BRANCH_ICON=true # set to hide the branch icon from the segment.
#POWERLEVEL9K_SHOW_CHANGESET=true # set to display the hash/changeset in the segment.
#POWERLEVEL9K_CHANGESET_HASH_LENGTH=6 # How many characters of the hash/changeset to display in
# the segment.
#POWERLEVEL9K_VCS_SHOW_SUBMODULE_DIRTY=true # set to reflect submodule status in the top-level
# repository prompt.
#POWERLEVEL9K_VCS_HIDE_TAGS=true # set to stop tags being displayed in the segment.
# ***** vcs symbols *****
# The vcs segment uses various symbols to tell you the state of your repository. These symbols depend on your
# installed font and selected POWERLEVEL9K_MODE from the Installation section above.
#
# Compatible Powerline Awesome Explanation
# Powerline
# ↑4 ↑4 4 (\uf01b) Number of commits your repository is ahead of your remote branch
# ↓5 ↓5 5 (\uf01a) Number of commits your repository is behind of your remote branch
# ⍟3 ⍟3 3 (\uf48d) Number of stashes, here 3.
# ● ● (\uf06a) There are unstaged changes in your working copy
# ✚ ✚ (\uf055) There are staged changes in your working copy
# ? ? (\uf059) There are files in your working copy unknown to your repository
# → → (\uf403) The name of your branch differs from its tracking branch.
# ☿ ☿ (\uf462) A mercurial bookmark is active.
# @ (\ue0a0) (\uf418) Branch Icon
# None None 2c3705 (\uf417) The current commit hash. Here "2c3705"
# None None (\uf406) Repository is a git repository
# None None (\uf0c3) Repository is a Mercurial repository
#
#=======================================
# LANGUAGE SEGMENTS
#=======================================
#---------------------------------------
# GoLang Segments
#---------------------------------------
# ***** go_version - no additional settings *****
# Show the current GO version
#---------------------------------------
# Javascript / Node.js Segments
#---------------------------------------
# ***** node_version - no additional settings *****
# Show the version number of the installed Node.js
# ***** nodeenv - no additional settings *****
# Prompt for displaying node version and environment name.
# See: https://github.com/ekalinin/nodeenv
# ***** nvm - no additional settings *****
# Show the version of Node that is currently active, if it differs from the version used by NVM.
#---------------------------------------
# PHP Segments
#---------------------------------------
# ***** php_version - no additional settings *****
# Show the current PHP version.
# ***** symfony_tests - no additional settings *****
# The symfony_tests segment shows a ratio of "real" classes vs test classes in your source code. This is just a very
# simple ratio, and does not show your code coverage or any sophisticated stats. All this does is count your source
# files and test files, and calculate the ratio between them. Just enough to give you a quick overview about the test
# situation of the project you are dealing with.
# ***** symfony_version - no additional settings *****
# Show the current symfony version, if you are in a symfony-Project dir.
#---------------------------------------
# Python Segments
#---------------------------------------
# ***** virtualenv - no additional settings *****
# Your Python VirtualEnv.
# See: https://virtualenv.pypa.io/en/latest/
# ***** anaconda *****
# This segment shows your active anaconda environment. It relies on either the CONDA_ENV_PATH or the CONDA_PREFIX
# (depending on the conda version) environment variable to be set which happens when you properly source activate
# an environment.
#POWERLEVEL9K_ANACONDA_LEFT_DELIMITER="("
#POWERLEVEL9K_ANACONDA_RIGHT_DELIMITER=")"
# ***** pyenv - no additional settings *****
# Your active python version as reported by the first word of pyenv version. Note that the segment is not displayed if
# that word is system i.e. the segment is inactive if you are using system python.
#---------------------------------------
# Ruby Segments
#---------------------------------------
# ***** chruby - no additional settings *****
# Ruby environment information using chruby (if one is active).
# ***** rbenv - no additional settings *****
# This segment shows the version of Ruby being used when using rbenv to change your current Ruby stack. It figures out
# the version being used by taking the output of the rbenv version-name command. If rbenv is not in $PATH, nothing
# will be shown. If the current Ruby version is the same as the global Ruby version, nothing will be shown.
# ***** rspec_stats - no additional settings *****
# The rspec_stats segment shows a ratio of "real" classes vs test classes in your source code. This is just a very
# simple ratio, and does not show your code coverage or any sophisticated stats. All this does is count your source
# files and test files, and calculate the ratio between them. Just enough to give you a quick overview about the test
# situation of the project you are dealing with.
#---------------------------------------
# Rust Segments
#---------------------------------------
# ***** rust_version - no additional settings *****
# Display the current rust version and logo. (\uE7A8)
#---------------------------------------
# Swift Segments
#---------------------------------------
# ***** swift_version - no additional settings *****
# Show the version number of the installed Swift.
#=======================================
# CLOUD SEGMENTS
#=======================================
#---------------------------------------
# AWS Segments
#---------------------------------------
# ***** aws *****
# If you would like to display the current AWS profile, add the aws segment to one of the prompts, and define
# AWS_DEFAULT_PROFILE in your ~/.zshrc
#AWS_DEFAULT_PROFILE="" # your AWS profile name
# ***** aws_eb_env - no additional settings *****
# The current Elastic Beanstalk Environment.
#---------------------------------------
# Docker Segments
#---------------------------------------
# ***** docker_machine - no additional settings *****
# The current Docker Machine.
#=======================================
# OTHER SEGMENTS
#=======================================
# ***** command_execution_time *****
# Display the time the previous command took to execute if the time is above
# POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD.
# The time is formatted to be "human readable", and so scales the units based on the length of execution time.
# If you want more precision, just set the POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION field.
POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD=3 # Threshold above which to print this segment. Can be set
# to 0 to always print.
POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=2 # Number of digits to use in the fractional part of the
# time value.
# ***** custom_command *****
# The custom_... segment allows you to turn the output of a custom command into a prompt segment. As an example, if
# you wanted to create a custom segment to display your WiFi signal strength, you might define a custom segment called
# custom_wifi_signal like this:
#POWERLEVEL9K_CUSTOM_WIFI_SIGNAL="echo signal: \$(nmcli device wifi | grep yes | awk "{print \$8}")"
#POWERLEVEL9K_CUSTOM_WIFI_SIGNAL_BACKGROUND="blue"
#POWERLEVEL9K_CUSTOM_WIFI_SIGNAL_FOREGROUND="yellow"
# If you prefer, you can also define the function in your .zshrc rather than putting it in-line with the variable
# export, as shown above. Just don"t forget to invoke your function from your segment! Example code that achieves the
# same result as the above:
#zsh_wifi_signal(){
# local signal=$(nmcli device wifi | grep yes | awk "{print $8}")
# local color="%F{yellow}"
# [[ $signal -gt 75 ]] && color="%F{green}"
# [[ $signal -lt 50 ]] && color="%F{red}"
# echo -n "%{$color%}\uf230 $signal%{%f%}" # \uf230 is
#}
#POWERLEVEL9K_CUSTOM_WIFI_SIGNAL="zsh_wifi_signal"
#=======================================
# MY CUSTOM SEGMENTS
#=======================================
#=======================================
# COLOR SCHEMES
#=======================================
POWERLEVEL9K_COLOR_SCHEME="dark" # "light" or "dark"
#=======================================
# MY THEME OVERRIDES: COLORS
#=======================================
#---------------------------------------
# SYSTEM STATUS SEGMENTS
#---------------------------------------
# ***** background_jobs *****
#POWERLEVEL9K_BACKGROUND_JOBS_BACKGROUND=""
#POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=""
#POWERLEVEL9K_BACKGROUND_VISUAL_IDENTIFIER_COLOR=""
# ***** battery *****
#POWERLEVEL9K_BATTERY_CHARGED_BACKGROUND=""
#POWERLEVEL9K_BATTERY_CHARGED_FOREGROUND=""
#POWERLEVEL9K_BATTERY_CHARGED_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_BATTERY_CHARGING_BACKGROUND=""
#POWERLEVEL9K_BATTERY_CHARGING_FOREGROUND=""
#POWERLEVEL9K_BATTERY_CHARGING_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_BATTERY_DISCONNECTED_BACKGROUND=""
#POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND=""
#POWERLEVEL9K_BATTERY_DISCONNECTED_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_BATTERY_LOW_BACKGROUND=""
#POWERLEVEL9K_BATTERY_LOW_FOREGROUND=""
#POWERLEVEL9K_BATTERY_LOW_VISUAL_IDENTIFIER_COLOR=""
# ***** context *****
#POWERLEVEL9K_CONTEXT_DEFAULT_BACKGROUND=""
#POWERLEVEL9K_CONTEXT_DEFAULT_FOREGROUND=""
#POWERLEVEL9K_CONTEXT_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_CONTEXT_ROOT_BACKGROUND=""
#POWERLEVEL9K_CONTEXT_ROOT_FOREGROUND=""
#POWERLEVEL9K_CONTEXT_VISUAL_IDENTIFIER_COLOR=""
# ***** date *****
#POWERLEVEL9K_DATE_BACKGROUND=""
#POWERLEVEL9K_DATE_FOREGROUND=""
#POWERLEVEL9K_DATE_VISUAL_IDENTIFIER_COLOR=""
# ***** dir *****
#POWERLEVEL9K_DIR_DEFAULT_BACKGROUND=""
#POWERLEVEL9K_DIR_DEFAULT_FOREGROUND=""
#POWERLEVEL9K_DIR_DEFAULT_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_DIR_HOME_BACKGROUND=""
#POWERLEVEL9K_DIR_HOME_FOREGROUND=""
#POWERLEVEL9K_DIR_HOME_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_DIR_HOME_SUBFOLDER_BACKGROUND=""
#POWERLEVEL9K_DIR_HOME_SUBFOLDER_FOREGROUND=""
#POWERLEVEL9K_DIR_HOME_SUBFOLDER_VISUAL_IDENTIFIER_COLOR=""
# ***** dir_writeable *****
#POWERLEVEL9K_DIR_WRITEABLE_BACKGROUND=""
#POWERLEVEL9K_DIR_WRITEABLE_FOREGROUND=""
#POWERLEVEL9K_DIR_WRITEABLE_VISUAL_IDENTIFIER_COLOR=""
# ***** disk_usage *****
#POWERLEVEL9K_DISK_USAGE_BACKGROUND=""
#POWERLEVEL9K_DISK_USAGE_FOREGROUND=""
#POWERLEVEL9K_DISK_USAGE_VISUAL_IDENTIFIER_COLOR=""
# ***** history *****
#POWERLEVEL9K_HISTORY_BACKGROUND=""
#POWERLEVEL9K_HISTORY_FOREGROUND=""
#POWERLEVEL9K_HISTORY_VISUAL_IDENTIFIER_COLOR=""
# ***** ip *****
#POWERLEVEL9K_IP_BACKGROUND=""
#POWERLEVEL9K_IP_FOREGROUND=""
#POWERLEVEL9K_IP_VISUAL_IDENTIFIER_COLOR=""
# ***** load *****
#POWERLEVEL9K_LOAD_DEFAULT_BACKGROUND=""
#POWERLEVEL9K_LOAD_DEFAULT_FOREGROUND=""
#POWERLEVEL9K_LOAD_DEFAULT_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_LOAD_WARNING_BACKGROUND=""
#POWERLEVEL9K_LOAD_WARNING_FOREGROUND=""
#POWERLEVEL9K_LOAD_WARNING_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_LOAD_CRITICAL_BACKGROUND=""
#POWERLEVEL9K_LOAD_CRITICAL_FOREGROUND=""
#POWERLEVEL9K_LOAD_CRITICAL_VISUAL_IDENTIFIER_COLOR=""
# ***** os_icon *****
#POWERLEVEL9K_OS_ICON_BACKGROUND=""
#POWERLEVEL9K_OS_ICON_FOREGROUND=""
#POWERLEVEL9K_OS_ICON_VISUAL_IDENTIFIER_COLOR=""
# ***** public_ip *****
#POWERLEVEL9K_PUBLIC_IP_BACKGROUND=""
#POWERLEVEL9K_PUBLIC_IP_FOREGROUND=""
#POWERLEVEL9K_PUBLIC_IP_VISUAL_IDENTIFIER_COLOR=""
# ***** ram *****
#POWERLEVEL9K_RAM_BACKGROUND=""
#POWERLEVEL9K_RAM_FOREGROUND=""
#POWERLEVEL9K_RAM_VISUAL_IDENTIFIER_COLOR=""
# ***** ssh *****
#POWERLEVEL9K_SSH_BACKGROUND=""
#POWERLEVEL9K_SSH_FOREGROUND=""
#POWERLEVEL9K_SSH_VISUAL_IDENTIFIER_COLOR=""
# ***** status *****
#POWERLEVEL9K_STATUS_ERROR_BACKGROUND=""
#POWERLEVEL9K_STATUS_ERROR_FOREGROUND=""
#POWERLEVEL9K_STATUS_ERROR_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_STATUS_OK_BACKGROUND="" # (note: only, if verbose is true)
#POWERLEVEL9K_STATUS_OK_FOREGROUND="" # (note: only, if verbose is true)
#POWERLEVEL9K_STATUS_OK_VISUAL_IDENTIFIER_COLOR="" # (note: only, if verbose is true)
# ***** swap *****
#POWERLEVEL9K_SWAP_BACKGROUND=""
#POWERLEVEL9K_SWAP_FOREGROUND=""
#POWERLEVEL9K_SWAP_VISUAL_IDENTIFIER_COLOR=""
# ***** time *****
#POWERLEVEL9K_TIME_BACKGROUND=""
#POWERLEVEL9K_TIME_FOREGROUND=""
#POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_COLOR=""
# ***** todo *****
#POWERLEVEL9K_TODO_BACKGROUND=""
#POWERLEVEL9K_TODO_FOREGROUND=""
#POWERLEVEL9K_TODO_VISUAL_IDENTIFIER_COLOR=""
# ***** vi_mode *****
#POWERLEVEL9K_VI_MODE_INSERT_BACKGROUND=""
#POWERLEVEL9K_VI_MODE_INSERT_FOREGROUND=""
#POWERLEVEL9K_VI_MODE_INSERT_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_VI_MODE_NORMAL_BACKGROUND=""
#POWERLEVEL9K_VI_MODE_NORMAL_FOREGROUND=""
#POWERLEVEL9K_VI_MODE_NORMAL_VISUAL_IDENTIFIER_COLOR=""
#---------------------------------------
# DEVELOPMENT ENVIRONMENT SEGMENTS
#---------------------------------------
# ***** vcs *****
#POWERLEVEL9K_VCS_CLEAN_BACKGROUND=""
#POWERLEVEL9K_VCS_CLEAN_FOREGROUND=""
#POWERLEVEL9K_VCS_CLEAN_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_VCS_UNTRACKED_BACKGROUND=""
#POWERLEVEL9K_VCS_UNTRACKED_FOREGROUND=""
#POWERLEVEL9K_VCS_UNTRACKED_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_VCS_MODIFIED_BACKGROUND=""
#POWERLEVEL9K_VCS_MODIFIED_FOREGROUND=""
#POWERLEVEL9K_VCS_MODIFIED_VISUAL_IDENTIFIER_COLOR=""
#---------------------------------------
# PHP Segments
#---------------------------------------
# ***** symfony_tests *****
#POWERLEVEL9K_SYMFONY_TESTS_AVG_BACKGROUND=""
#POWERLEVEL9K_SYMFONY_TESTS_AVG_FOREGROUND=""
#POWERLEVEL9K_SYMFONY_TESTS_AVG_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_SYMFONY_TESTS_BAD_BACKGROUND=""
#POWERLEVEL9K_SYMFONY_TESTS_BAD_FOREGROUND=""
#POWERLEVEL9K_SYMFONY_TESTS_BAD_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_SYMFONY_TESTS_GOOD_BACKGROUND=""
#POWERLEVEL9K_SYMFONY_TESTS_GOOD_FOREGROUND=""
#POWERLEVEL9K_SYMFONY_TESTS_GOOD_VISUAL_IDENTIFIER_COLOR=""
#---------------------------------------
# Python Segments
#---------------------------------------
# ***** anaconda *****
#POWERLEVEL9K_ANACONDA_BACKGROUND=""
#POWERLEVEL9K_ANACONDA_FOREGROUND="" # Note that you can modify the _FOREGROUND color without
# affecting the icon color.
#POWERLEVEL9K_ANACONDA_VISUAL_IDENTIFIER_COLOR=""
#---------------------------------------
# Ruby Segments
#---------------------------------------
# ***** rspec_stats *****
#POWERLEVEL9K_RSPEC_STATS_GOOD_BACKGROUND=""
#POWERLEVEL9K_RSPEC_STATS_GOOD_FOREGROUND=""
#POWERLEVEL9K_RSPEC_STATS_GOOD_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_RSPEC_STATS_AVG_BACKGROUND=""
#POWERLEVEL9K_RSPEC_STATS_AVG_FOREGROUND=""
#POWERLEVEL9K_RSPEC_STATS_AVG_VISUAL_IDENTIFIER_COLOR=""
#POWERLEVEL9K_RSPEC_STATS_BAD_BACKGROUND=""
#POWERLEVEL9K_RSPEC_STATS_BAD_FOREGROUND=""
#POWERLEVEL9K_RSPEC_STATS_BAD_VISUAL_IDENTIFIER_COLOR=""
#---------------------------------------
# OTHER SEGMENTS
#---------------------------------------
# ***** command_execution_time *****
#POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND=""
#POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=""
#POWERLEVEL9K_COMMAND_EXECUTION_TIME_VISUAL_IDENTIFIER_COLOR=""
#---------------------------------------
# My Custom Segments
#---------------------------------------
#=======================================
# MY THEME OVERRIDES: ICONS
#=======================================
# use "get_icon_names" to see all icons
# ***** Separators and Icons *****
#POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR=""
#POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR=""
#POWERLEVEL9K_LEFT_SEGMENT_END_SEPARATOR=""
#POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR=""
#POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR=""
# ***** General Icons *****
#POWERLEVEL9K_OK_ICON=""
#POWERLEVEL9K_FAIL_ICON=""
#POWERLEVEL9K_CARRIAGE_RETURN_ICON=""
#POWERLEVEL9K_TODO_ICON=""
#---------------------------------------
# SYSTEM STATUS SEGMENTS
#---------------------------------------
# ***** background_jobs *****
#POWERLEVEL9K_BACKGROUND_JOBS_ICON=""
# ***** battery *****
#POWERLEVEL9K_BATTERY_ICON=""
# ***** date *****
#POWERLEVEL9K_DATE_ICON=""
# ***** dir *****
#POWERLEVEL9K_HOME_ICON=""
#POWERLEVEL9K_HOME_SUB_ICON=""
#POWERLEVEL9K_FOLDER_ICON=""
# ***** dir_writeable *****
#POWERLEVEL9K_LOCK_ICON=""
# ***** disk_usage *****
#POWERLEVEL9K_DISK_ICON=""
# ***** history *****
#POWERLEVEL9K_HISTORY_ICON=""
# ***** ip *****
#POWERLEVEL9K_NETWORK_ICON=""
# ***** load *****
#POWERLEVEL9K_LOAD_ICON=""
# ***** os_icon *****
#POWERLEVEL9K_APPLE_ICON=""
#POWERLEVEL9K_FREEBSD_ICON=""
#POWERLEVEL9K_LINUX_ICON=""
#POWERLEVEL9K_SUNOS_ICON=""
# ***** public_ip *****
#POWERLEVEL9K_PUBLIC_IP_ICON=""
# ***** ram *****
#POWERLEVEL9K_RAM_ICON=""
# ***** root_indicator *****
#POWERLEVEL9K_ROOT_ICON=""
# ***** ssh *****
#POWERLEVEL9K_SSH_ICON=""