Deprecate pure theme
You can configure pure theme in `powerlevel10k`
This commit is contained in:
parent
51756a6bbb
commit
5f565d7c04
4 changed files with 0 additions and 72 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,6 +1,3 @@
|
|||
[submodule "pure"]
|
||||
path = pure
|
||||
url = https://github.com/sindresorhus/pure
|
||||
[submodule "zsh-autosuggestions"]
|
||||
path = zsh-autosuggestions
|
||||
url = https://github.com/zsh-users/zsh-autosuggestions
|
||||
|
|
|
@ -37,11 +37,6 @@ zsh
|
|||
```
|
||||
p10k config
|
||||
```
|
||||
### `pure` shell theme
|
||||
- Link the `zsh.pure` file to your home folder as `.zshrc`
|
||||
```
|
||||
ln -s ~/zsh/zshrc.pure ~/.zsh
|
||||
```
|
||||
|
||||
## Get Dependencies
|
||||
|
||||
|
@ -55,7 +50,6 @@ ln -s ~/zsh/zshrc.pure ~/.zsh
|
|||
- [`git`](https://github.com/davidde/git) - Usefull git aliases
|
||||
- [`zsh-syntax-highlighting`](https://github.com/zsh-users/zsh-syntax-highlighting) - Syntax highlighting for ZSH
|
||||
- [`powerlevel10k`](https://github.com/romkatv/powerlevel10k) theme - The the actual theme
|
||||
- [`pure`](https://github.com/sindresorhus/pure) - Pure shell look for zsh
|
||||
|
||||
### Install from your distribution's repository
|
||||
- [`thefuck`](https://github.com/nvbn/thefuck) - Corrects errors in previous console commands (when you mess up a command, type `fuck`)
|
||||
|
|
1
pure
1
pure
|
@ -1 +0,0 @@
|
|||
Subproject commit 90dc9cf908481cc155e1ce5611f684916523fc30
|
62
zshrc.pure
62
zshrc.pure
|
@ -1,62 +0,0 @@
|
|||
# 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
|
||||
|
||||
# Dependencies You Need for this Config
|
||||
# zsh-syntax-highlighting - syntax highlighting for ZSH in standard repos
|
||||
# autojump - jump to directories with j or jc for child or jo to open in file manager
|
||||
# zsh-autosuggestions - Suggestions based on your history
|
||||
|
||||
# Initial Setup
|
||||
# touch "$HOME/.cache/zshhistory
|
||||
# Setup Alias in $HOME/zsh/aliasrc
|
||||
# git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ~/powerlevel10k
|
||||
# echo 'source ~/powerlevel10k/powerlevel10k.zsh-theme' >>! ~/.zshrc
|
||||
|
||||
# Enable colors and change prompt:
|
||||
autoload -U colors && colors
|
||||
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
|
||||
|
||||
# Custom Variables
|
||||
EDITOR=nano
|
||||
|
||||
# Pure Prompt
|
||||
fpath+=$HOME/zsh/pure
|
||||
autoload -U promptinit; promptinit
|
||||
prompt pure
|
||||
PURE_PROMPT_SYMBOL=\$
|
||||
PURE_PROMPT_VICMD_SYMBOL=\<
|
||||
|
||||
# History in cache directory:
|
||||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
HISTFILE=~/.cache/zshhistory
|
||||
setopt appendhistory
|
||||
|
||||
# Basic auto/tab complete:
|
||||
autoload -U compinit
|
||||
zstyle ':completion:*' menu select
|
||||
zmodload zsh/complist
|
||||
compinit
|
||||
_comp_options+=(globdots) # Include hidden files.
|
||||
|
||||
# Custom ZSH Binds
|
||||
bindkey '^ ' autosuggest-accept
|
||||
bindkey "^[[H" beginning-of-line
|
||||
bindkey "^[[F" end-of-line
|
||||
bindkey "^[[3~" delete-char
|
||||
|
||||
# Load aliases and shortcuts if existent.
|
||||
[ -f "$HOME/zsh/aliasrc" ] && source "$HOME/zsh/aliasrc"
|
||||
|
||||
# Load ; should be last.
|
||||
source $HOME/zsh/zsh-autosuggestions/zsh-autosuggestions.zsh 2>/dev/null
|
||||
source $HOME/zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
||||
source /usr/share/autojump/autojump.zsh 2>/dev/null
|
||||
source ~/powerlevel10k/powerlevel10k.zsh-theme
|
||||
|
||||
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
|
||||
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
|
Reference in a new issue