summaryrefslogtreecommitdiff
path: root/user-profiles/zsh
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-01-03 16:07:06 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-01-03 16:21:35 +0100
commit27f0c7079add14a6990cbfeb4e348e433450be63 (patch)
tree1d5ace4d1a99271a842f8df67a1aa0d85c75a284 /user-profiles/zsh
parent6771b74180157e408edba8071cdcc5f49e8f32b2 (diff)
downloadnixos-27f0c7079add14a6990cbfeb4e348e433450be63.tar
nixos-27f0c7079add14a6990cbfeb4e348e433450be63.tar.gz
nixos-27f0c7079add14a6990cbfeb4e348e433450be63.tar.bz2
nixos-27f0c7079add14a6990cbfeb4e348e433450be63.tar.xz
nixos-27f0c7079add14a6990cbfeb4e348e433450be63.zip
gkleen@sif: customization
Diffstat (limited to 'user-profiles/zsh')
-rw-r--r--user-profiles/zsh/p10k.zsh37
1 files changed, 19 insertions, 18 deletions
diff --git a/user-profiles/zsh/p10k.zsh b/user-profiles/zsh/p10k.zsh
index dd540296..fb9af12c 100644
--- a/user-profiles/zsh/p10k.zsh
+++ b/user-profiles/zsh/p10k.zsh
@@ -1,7 +1,8 @@
1# Generated by Powerlevel10k configuration wizard on 2021-01-03 at 14:51 CET. 1# Generated by Powerlevel10k configuration wizard on 2021-01-03 at 15:43 CET.
2# Based on romkatv/powerlevel10k/config/p10k-lean.zsh. 2# Based on romkatv/powerlevel10k/config/p10k-lean.zsh.
3# Wizard options: powerline, unicode, lean, 24h time, 2 lines, solid, no frame, 3# Wizard options: nerdfont-complete + powerline, small icons, unicode, lean, 24h time,
4# darkest-ornaments, sparse, concise, transient_prompt, instant_prompt=quiet. 4# 2 lines, solid, no frame, darkest-ornaments, sparse, many icons, concise,
5# transient_prompt, instant_prompt=quiet.
5# Type `p10k configure` to generate another config. 6# Type `p10k configure` to generate another config.
6# 7#
7# Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate 8# Config for Powerlevel10k with lean prompt style. Type `p10k configure` to generate
@@ -31,7 +32,7 @@
31 # The list of segments shown on the left. Fill it with the most important segments. 32 # The list of segments shown on the left. Fill it with the most important segments.
32 typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=( 33 typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
33 # =========================[ Line #1 ]========================= 34 # =========================[ Line #1 ]=========================
34 # os_icon # os identifier 35 # os_icon # os identifier
35 dir # current directory 36 dir # current directory
36 vcs # git status 37 vcs # git status
37 # =========================[ Line #2 ]========================= 38 # =========================[ Line #2 ]=========================
@@ -108,7 +109,7 @@
108 ) 109 )
109 110
110 # Defines character set used by powerlevel10k. It's best to let `p10k configure` set it for you. 111 # Defines character set used by powerlevel10k. It's best to let `p10k configure` set it for you.
111 typeset -g POWERLEVEL9K_MODE=powerline 112 typeset -g POWERLEVEL9K_MODE=nerdfont-complete
112 # When set to `moderate`, some icons will have an extra space after them. This is meant to avoid 113 # When set to `moderate`, some icons will have an extra space after them. This is meant to avoid
113 # icon overlap when using non-monospace fonts. When set to `none`, spaces are not added. 114 # icon overlap when using non-monospace fonts. When set to `none`, spaces are not added.
114 typeset -g POWERLEVEL9K_ICON_PADDING=none 115 typeset -g POWERLEVEL9K_ICON_PADDING=none
@@ -280,7 +281,7 @@
280 281
281 # The default icon shown next to non-writable and non-existent directories when 282 # The default icon shown next to non-writable and non-existent directories when
282 # POWERLEVEL9K_DIR_SHOW_WRITABLE is set to v3. 283 # POWERLEVEL9K_DIR_SHOW_WRITABLE is set to v3.
283 typeset -g POWERLEVEL9K_LOCK_ICON='' 284 # typeset -g POWERLEVEL9K_LOCK_ICON=''
284 285
285 # POWERLEVEL9K_DIR_CLASSES allows you to specify custom icons and colors for different 286 # POWERLEVEL9K_DIR_CLASSES allows you to specify custom icons and colors for different
286 # directories. It must be an array with 3 * N elements. Each triplet consists of: 287 # directories. It must be an array with 3 * N elements. Each triplet consists of:
@@ -331,14 +332,14 @@
331 # parameter. For example, if POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_FOREGROUND is not set, it falls 332 # parameter. For example, if POWERLEVEL9K_DIR_WORK_NOT_WRITABLE_FOREGROUND is not set, it falls
332 # back to POWERLEVEL9K_DIR_FOREGROUND. 333 # back to POWERLEVEL9K_DIR_FOREGROUND.
333 # 334 #
334 typeset -g POWERLEVEL9K_DIR_CLASSES=() 335 # typeset -g POWERLEVEL9K_DIR_CLASSES=()
335 336
336 # Custom prefix. 337 # Custom prefix.
337 # typeset -g POWERLEVEL9K_DIR_PREFIX='%fin ' 338 # typeset -g POWERLEVEL9K_DIR_PREFIX='%fin '
338 339
339 #####################################[ vcs: git status ]###################################### 340 #####################################[ vcs: git status ]######################################
340 # Branch icon. Set this parameter to '\uF126 ' for the popular Powerline branch icon. 341 # Branch icon. Set this parameter to '\uF126 ' for the popular Powerline branch icon.
341 typeset -g POWERLEVEL9K_VCS_BRANCH_ICON= 342 typeset -g POWERLEVEL9K_VCS_BRANCH_ICON='\uF126 '
342 343
343 # Untracked files icon. It's really a question mark, your font isn't broken. 344 # Untracked files icon. It's really a question mark, your font isn't broken.
344 # Change the value of this parameter to show a different icon. 345 # Change the value of this parameter to show a different icon.
@@ -465,7 +466,7 @@
465 typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_COLOR=76 466 typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_COLOR=76
466 typeset -g POWERLEVEL9K_VCS_LOADING_VISUAL_IDENTIFIER_COLOR=244 467 typeset -g POWERLEVEL9K_VCS_LOADING_VISUAL_IDENTIFIER_COLOR=244
467 # Custom icon. 468 # Custom icon.
468 typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION= 469 # typeset -g POWERLEVEL9K_VCS_VISUAL_IDENTIFIER_EXPANSION='⭐'
469 # Custom prefix. 470 # Custom prefix.
470 # typeset -g POWERLEVEL9K_VCS_PREFIX='%fon ' 471 # typeset -g POWERLEVEL9K_VCS_PREFIX='%fon '
471 472
@@ -526,7 +527,7 @@
526 # Duration format: 1d 2h 3m 4s. 527 # Duration format: 1d 2h 3m 4s.
527 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s' 528 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FORMAT='d h m s'
528 # Custom icon. 529 # Custom icon.
529 typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_VISUAL_IDENTIFIER_EXPANSION= 530 # typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_VISUAL_IDENTIFIER_EXPANSION='⭐'
530 # Custom prefix. 531 # Custom prefix.
531 # typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PREFIX='%ftook ' 532 # typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PREFIX='%ftook '
532 533
@@ -536,7 +537,7 @@
536 # Background jobs color. 537 # Background jobs color.
537 typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=70 538 typeset -g POWERLEVEL9K_BACKGROUND_JOBS_FOREGROUND=70
538 # Custom icon. 539 # Custom icon.
539 typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION='' 540 # typeset -g POWERLEVEL9K_BACKGROUND_JOBS_VISUAL_IDENTIFIER_EXPANSION=''
540 541
541 #######################[ direnv: direnv status (https://direnv.net/) ]######################## 542 #######################[ direnv: direnv status (https://direnv.net/) ]########################
542 # Direnv color. 543 # Direnv color.
@@ -691,13 +692,13 @@
691 typeset -g POWERLEVEL9K_NORDVPN_{DISCONNECTED,CONNECTING,DISCONNECTING}_CONTENT_EXPANSION= 692 typeset -g POWERLEVEL9K_NORDVPN_{DISCONNECTED,CONNECTING,DISCONNECTING}_CONTENT_EXPANSION=
692 typeset -g POWERLEVEL9K_NORDVPN_{DISCONNECTED,CONNECTING,DISCONNECTING}_VISUAL_IDENTIFIER_EXPANSION= 693 typeset -g POWERLEVEL9K_NORDVPN_{DISCONNECTED,CONNECTING,DISCONNECTING}_VISUAL_IDENTIFIER_EXPANSION=
693 # Custom icon. 694 # Custom icon.
694 typeset -g POWERLEVEL9K_NORDVPN_VISUAL_IDENTIFIER_EXPANSION='nord' 695 # typeset -g POWERLEVEL9K_NORDVPN_VISUAL_IDENTIFIER_EXPANSION=''
695 696
696 #################[ ranger: ranger shell (https://github.com/ranger/ranger) ]################## 697 #################[ ranger: ranger shell (https://github.com/ranger/ranger) ]##################
697 # Ranger shell color. 698 # Ranger shell color.
698 typeset -g POWERLEVEL9K_RANGER_FOREGROUND=178 699 typeset -g POWERLEVEL9K_RANGER_FOREGROUND=178
699 # Custom icon. 700 # Custom icon.
700 typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION='' 701 # typeset -g POWERLEVEL9K_RANGER_VISUAL_IDENTIFIER_EXPANSION=''
701 702
702 ######################[ nnn: nnn shell (https://github.com/jarun/nnn) ]####################### 703 ######################[ nnn: nnn shell (https://github.com/jarun/nnn) ]#######################
703 # Nnn shell color. 704 # Nnn shell color.
@@ -1170,7 +1171,7 @@
1170 # '*test*' TEST # to match your needs. Customize them as needed. 1171 # '*test*' TEST # to match your needs. Customize them as needed.
1171 '*' DEFAULT) 1172 '*' DEFAULT)
1172 typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=134 1173 typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_FOREGROUND=134
1173 typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION='' 1174 # typeset -g POWERLEVEL9K_KUBECONTEXT_DEFAULT_VISUAL_IDENTIFIER_EXPANSION=''
1174 1175
1175 # Use POWERLEVEL9K_KUBECONTEXT_CONTENT_EXPANSION to specify the content displayed by kubecontext 1176 # Use POWERLEVEL9K_KUBECONTEXT_CONTENT_EXPANSION to specify the content displayed by kubecontext
1176 # segment. Parameter expansions are very flexible and fast, too. See reference: 1177 # segment. Parameter expansions are very flexible and fast, too. See reference:
@@ -1293,7 +1294,7 @@
1293 # AWS Elastic Beanstalk environment color. 1294 # AWS Elastic Beanstalk environment color.
1294 typeset -g POWERLEVEL9K_AWS_EB_ENV_FOREGROUND=70 1295 typeset -g POWERLEVEL9K_AWS_EB_ENV_FOREGROUND=70
1295 # Custom icon. 1296 # Custom icon.
1296 typeset -g POWERLEVEL9K_AWS_EB_ENV_VISUAL_IDENTIFIER_EXPANSION='eb' 1297 # typeset -g POWERLEVEL9K_AWS_EB_ENV_VISUAL_IDENTIFIER_EXPANSION=''
1297 1298
1298 ##########[ azure: azure account name (https://docs.microsoft.com/en-us/cli/azure) ]########## 1299 ##########[ azure: azure account name (https://docs.microsoft.com/en-us/cli/azure) ]##########
1299 # Show azure only when the the command you are typing invokes one of these tools. 1300 # Show azure only when the the command you are typing invokes one of these tools.
@@ -1302,7 +1303,7 @@
1302 # Azure account name color. 1303 # Azure account name color.
1303 typeset -g POWERLEVEL9K_AZURE_FOREGROUND=32 1304 typeset -g POWERLEVEL9K_AZURE_FOREGROUND=32
1304 # Custom icon. 1305 # Custom icon.
1305 typeset -g POWERLEVEL9K_AZURE_VISUAL_IDENTIFIER_EXPANSION='az' 1306 # typeset -g POWERLEVEL9K_AZURE_VISUAL_IDENTIFIER_EXPANSION=''
1306 1307
1307 ##########[ gcloud: google cloud account and project (https://cloud.google.com/) ]########### 1308 ##########[ gcloud: google cloud account and project (https://cloud.google.com/) ]###########
1308 # Show gcloud only when the the command you are typing invokes one of these tools. 1309 # Show gcloud only when the the command you are typing invokes one of these tools.
@@ -1456,7 +1457,7 @@
1456 # Show battery in yellow when it's discharging. 1457 # Show battery in yellow when it's discharging.
1457 typeset -g POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND=178 1458 typeset -g POWERLEVEL9K_BATTERY_DISCONNECTED_FOREGROUND=178
1458 # Battery pictograms going from low to high level of charge. 1459 # Battery pictograms going from low to high level of charge.
1459 typeset -g POWERLEVEL9K_BATTERY_STAGES=('%K{232}▁' '%K{232}▂' '%K{232}▃' '%K{232}▄' '%K{232}▅' '%K{232}▆' '%K{232}▇' '%K{232}█') 1460 typeset -g POWERLEVEL9K_BATTERY_STAGES='\uf58d\uf579\uf57a\uf57b\uf57c\uf57d\uf57e\uf57f\uf580\uf581\uf578'
1460 # Don't show the remaining time to charge/discharge. 1461 # Don't show the remaining time to charge/discharge.
1461 typeset -g POWERLEVEL9K_BATTERY_VERBOSE=false 1462 typeset -g POWERLEVEL9K_BATTERY_VERBOSE=false
1462 1463
@@ -1496,7 +1497,7 @@
1496 # behavior where they contain the end times of their preceding commands. 1497 # behavior where they contain the end times of their preceding commands.
1497 typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false 1498 typeset -g POWERLEVEL9K_TIME_UPDATE_ON_COMMAND=false
1498 # Custom icon. 1499 # Custom icon.
1499 typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION= 1500 # typeset -g POWERLEVEL9K_TIME_VISUAL_IDENTIFIER_EXPANSION='⭐'
1500 # Custom prefix. 1501 # Custom prefix.
1501 # typeset -g POWERLEVEL9K_TIME_PREFIX='%fat ' 1502 # typeset -g POWERLEVEL9K_TIME_PREFIX='%fat '
1502 1503