Skip to content

Commit 43f76ee

Browse files
author
Yuriy Bezsonov
committed
update ide scripts
1 parent b1957e2 commit 43f76ee

2 files changed

Lines changed: 16 additions & 5 deletions

File tree

infra/scripts/ide/p10k.zsh

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ typeset -g POWERLEVEL9K_INSTANT_PROMPT=quiet
44
# Left prompt: directory, git status, prompt symbol
55
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir vcs newline prompt_char)
66

7-
# Right prompt: status, duration, jobs, k8s context, aws profile, time
8-
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status command_execution_time background_jobs kubecontext aws time newline)
7+
# Right prompt: status, duration, jobs, java, k8s context, aws profile, time
8+
typeset -g POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=(status command_execution_time background_jobs java_version kubecontext aws time newline)
99

1010
# Visual style
1111
typeset -g POWERLEVEL9K_MODE=powerline
@@ -14,6 +14,7 @@ typeset -g POWERLEVEL9K_LEFT_SEGMENT_SEPARATOR='\uE0B0'
1414
typeset -g POWERLEVEL9K_RIGHT_SEGMENT_SEPARATOR='\uE0B2'
1515
typeset -g POWERLEVEL9K_LEFT_SUBSEGMENT_SEPARATOR='\uE0B1'
1616
typeset -g POWERLEVEL9K_RIGHT_SUBSEGMENT_SEPARATOR='\uE0B3'
17+
# Right frame decoration
1718
typeset -g POWERLEVEL9K_MULTILINE_FIRST_PROMPT_SUFFIX='%240F─╮'
1819
typeset -g POWERLEVEL9K_MULTILINE_NEWLINE_PROMPT_SUFFIX='%240F─┤'
1920
typeset -g POWERLEVEL9K_MULTILINE_LAST_PROMPT_SUFFIX='%240F─╯'
@@ -43,8 +44,12 @@ typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_PRECISION=0
4344
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_FOREGROUND=0
4445
typeset -g POWERLEVEL9K_COMMAND_EXECUTION_TIME_BACKGROUND=3
4546

46-
# Kubernetes context: show only when using k8s commands
47-
typeset -g POWERLEVEL9K_KUBECONTEXT_SHOW_ON_COMMAND='kubectl|helm|kubens|kubectx|k9s|k'
47+
# Java version: always visible, show full version (Java workshop)
48+
typeset -g POWERLEVEL9K_JAVA_VERSION_FOREGROUND=1
49+
typeset -g POWERLEVEL9K_JAVA_VERSION_BACKGROUND=7
50+
typeset -g POWERLEVEL9K_JAVA_VERSION_FULL=true
51+
52+
# Kubernetes context: always visible (EKS workshop)
4853
typeset -g POWERLEVEL9K_KUBECONTEXT_FOREGROUND=7
4954
typeset -g POWERLEVEL9K_KUBECONTEXT_BACKGROUND=5
5055

infra/scripts/ide/vscode.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,13 @@ setup_user_file "/home/ec2-user/.local/share/code-server/User/settings.json" '{
8787
"chat.commandCenter.enabled": false,
8888
"workbench.settings.showAISearchToggle": false,
8989
"chat.disableAIFeatures": true,
90-
"chat.extensionUnification.enabled": false
90+
"chat.extensionUnification.enabled": false,
91+
"terminal.integrated.defaultProfile.linux": "zsh",
92+
"terminal.integrated.showLinkHover": false,
93+
"terminal.integrated.commandsToSkipShell": [],
94+
"workbench.sideBar.location": "left",
95+
"workbench.panel.defaultLocation": "bottom",
96+
"workbench.auxiliaryBar.visible": false
9197
}'
9298

9399
echo "Configuring VS Code keybindings..."

0 commit comments

Comments
 (0)