forked from romkatv/zsh-bench
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env zsh | ||
|
||
emulate -L zsh -o err_return -o extended_glob | ||
|
||
cp -r -- ${ZSH_SCRIPT:h}/skel/*(D) ~/ | ||
|
||
git clone -q --depth=1 --recursive --shallow-submodules \ | ||
https://github.com/sorin-ionescu/prezto.git ~/.zprezto &>/dev/null | ||
|
||
<~/.zprezto/runcoms/zprofile >>~/.zshrc | ||
<~/.zprezto/runcoms/zshrc >>~/.zshrc | ||
<~/.zprezto/runcoms/zlogin >>~/.zlogin | ||
|
||
() { | ||
local f | ||
for f in ~/.zprezto/**/{*.zsh,*.zsh-theme,functions/*}(.); do | ||
zcompile -R -- "$f".zwc "$f" 2>/dev/null || true | ||
done | ||
} | ||
|
||
make -s -C ~/.zprezto/modules/prompt/external/powerlevel10k pkg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
POWERLEVEL9K_MODE=ascii | ||
POWERLEVEL9K_DISABLE_HOT_RELOAD=true | ||
POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(dir vcs) | ||
POWERLEVEL9K_RIGHT_PROMPT_ELEMENTS=() | ||
POWERLEVEL9K_VCS_MAX_SYNC_LATENCY_SECONDS=0.003 | ||
POWERLEVEL9K_INSTANT_PROMPT=quiet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
unbind -a | ||
set -g prefix None | ||
set -g prefix2 None | ||
set -g escape-time 0 | ||
set -g status off | ||
set -g set-titles on | ||
set -g set-titles-string "#T" | ||
set -g history-limit 0 | ||
set -g focus-events on | ||
set -g message-limit 0 | ||
set -g assume-paste-time 0 | ||
set -g default-terminal "screen-256color" | ||
set -s set-clipboard on | ||
set -as terminal-overrides ',*:Ms=\E]52;%p1%s;%p2%s\007' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
zstyle ':prezto:*:*' color 'yes' | ||
zstyle ':prezto:load' pmodule 'completion' 'autosuggestions' 'syntax-highlighting' 'prompt' | ||
zstyle ':prezto:module:prompt' theme 'powerlevel10k' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
setopt no_global_rcs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
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 | ||
|
||
ZSH_AUTOSUGGEST_MANUAL_REBIND=1 | ||
source ~/.p10k.zsh |