Compare commits

..

No commits in common. "96971e908f591f96bba317ef3838ec02ccca83b4" and "724c7e9f41c76bfc03d7849ec0e20c722a476540" have entirely different histories.

2 changed files with 2 additions and 9 deletions

1
.zshrc
View File

@ -4,7 +4,6 @@
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi fi
export ZSH_DISABLE_COMPFIX=true
export ZSH="$HOME/.oh-my-zsh" export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k" ZSH_THEME="powerlevel10k/powerlevel10k"

8
setup.sh Executable file → Normal file
View File

@ -1,13 +1,7 @@
#!/bin/sh #!/bin/sh
dotPath=".config/dotfiles" cp Settings/.zshrc Settings/.vimrc Settings/.zprofile Settings/.gitconfig Settings/.p10k.zsh .
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 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 ] if [ $(id -u) -ne 0 ]
then then