Compare commits
2 Commits
724c7e9f41
...
96971e908f
Author | SHA1 | Date |
---|---|---|
tracer | 96971e908f | |
tracer | ff460c376d |
1
.zshrc
1
.zshrc
|
@ -4,6 +4,7 @@
|
|||
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
|
||||
export ZSH_DISABLE_COMPFIX=true
|
||||
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
ZSH_THEME="powerlevel10k/powerlevel10k"
|
||||
|
|
|
@ -1,7 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
cp Settings/.zshrc Settings/.vimrc Settings/.zprofile Settings/.gitconfig Settings/.p10k.zsh .
|
||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
||||
dotPath=".config/dotfiles"
|
||||
|
||||
cp $dotPath/.zshrc $dotPath/.vimrc $dotPath/.zprofile $dotPath/.gitconfig $dotPath/.p10k.zsh .
|
||||
if [ -d ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k ]; then
|
||||
echo "pl10k already exists, skipping"
|
||||
else
|
||||
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
|
||||
fi
|
||||
|
||||
if [ $(id -u) -ne 0 ]
|
||||
then
|
||||
|
|
Loading…
Reference in New Issue