From 227bd97b413583ba01d7e2a53283134afb402a02 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Fri, 31 Dec 2021 14:58:29 -0300 Subject: [PATCH] Create histfile and refactor --- install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index b159c0b..3c9f3c2 100755 --- a/install.sh +++ b/install.sh @@ -317,15 +317,20 @@ finishInstallation() { fi } -getDotfiles() { +zshConfig() { sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended 2>&1 | debug + touch $HOME/.cache/zsh/.histfile git clone https://github.com/romkatv/powerlevel10k.git $HOME/.oh-my-zsh/custom/themes/powerlevel10k 2>&1 | debug +} + +getDotfiles() { local lastFolder=$(pwd -P) cd $HOME/Documents git clone https://github.com/santilococo/CocoRice.git 2>&1 | debug cd CocoRice sh scripts/bootstrap.sh -w cd $lastFolder + rm ~/.bashrc /usr/bin/CocoASAIS sudo paru -Sy zaread-git }