Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cupric
zsh
Commits
282090c8
Commit
282090c8
authored
2 years ago
by
cupric
Browse files
Options
Download
Email Patches
Plain Diff
Theme to P10
parent
4cb0382f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.zshrc
+15
-1
.zshrc
zcustom/p10k.zsh
+1671
-0
zcustom/p10k.zsh
with
1686 additions
and
1 deletion
+1686
-1
.zshrc
+
15
-
1
View file @
282090c8
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if
[[
-r
"
${
XDG_CACHE_HOME
:-
$HOME
/.cache
}
/p10k-instant-prompt-
${
(%)
:-
%n
}
.zsh"
]]
;
then
source
"
${
XDG_CACHE_HOME
:-
$HOME
/.cache
}
/p10k-instant-prompt-
${
(%)
:-
%n
}
.zsh"
fi
# Requirements
# 1. ZSH
# 2. antibody (This script will install if needed)
...
...
@@ -148,7 +155,14 @@ fi
source
"
$ZSH_CUSTOM
/keybindings.zsh"
# Theme
eval
"
$(
starship init zsh
)
"
# Starship
# eval "$(starship init zsh)"
# Powerlevel 10k
antibody bundle romkatv/powerlevel10k
# Load tmux bundle if installed
command
-v
tmux &>/dev/null
&&
ZSH_TMUX_AUTOSTART
=
false
&&
antibody bundle
"ohmyzsh/ohmyzsh path:plugins/tmux"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[
!
-f
$ZSH_CUSTOM
/p10k.zsh
]]
||
source
$ZSH_CUSTOM
/p10k.zsh
This diff is collapsed.
Click to expand it.
zcustom/p10k.zsh
0 → 100644
+
1671
-
0
View file @
282090c8
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets