Browse Source

Merge branch 'master' of git.jrich.cc:dope/dotfiles

Joe Richardson 4 months ago
parent
commit
633531a2b2
2 changed files with 14 additions and 3 deletions
  1. 3
    2
      README.md
  2. 11
    1
      zsh/.zshrc

+ 3
- 2
README.md View File

@@ -5,7 +5,8 @@ A simple and most definitely a WIP colletion of files.
5 5
 ## Prerequisites ⚠️
6 6
 
7 7
 1. [zsh](https://sourabhbajaj.com/mac-setup/iTerm/zsh.html)
8
-2. vim-plug
8
+2. [zgen](https://github.com/tarjoilija/zgen)
9
+3. vim-plug
9 10
 
10 11
 ```
11 12
 curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
@@ -16,5 +17,5 @@ curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
16 17
 
17 18
 1. git clone `git@git.jrich.cc:dope/dotfiles.git`
18 19
 2. cd dotfiles
19
-3. source install.sh
20
+3. source setup.sh
20 21
 4. $$$

+ 11
- 1
zsh/.zshrc View File

@@ -1,3 +1,10 @@
1
+# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
2
+# Initialization code that may require console input (password prompts, [y/n]
3
+# confirmations, etc.) must go above this block, everything else may go below.
4
+if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
5
+  source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
6
+fi
7
+
1 8
 # Paths
2 9
 export ZSH=/Users/jr/.oh-my-zsh
3 10
 export EDITOR="/usr/bin/vim"
@@ -10,7 +17,7 @@ source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
10 17
 source "${HOME}/.zgen/zgen.zsh"
11 18
 
12 19
 # Load theme
13
-zgen load subnixr/minimal
20
+zgen load romkatv/powerlevel10k powerlevel10k
14 21
 
15 22
 # Misc Aliases
16 23
 alias composer="php /usr/local/bin/composer.phar"
@@ -31,3 +38,6 @@ autoload -U compinit
31 38
 compinit
32 39
 
33 40
 [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
41
+
42
+# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
43
+[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh