Refactor and update README.md
This commit is contained in:
parent
2033123873
commit
2e3d6e8c5c
|
@ -17,7 +17,7 @@ Clone the repo.
|
||||||
Run
|
Run
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
./scripts/linkFiles.sh
|
./scripts/bootstrap.sh
|
||||||
```
|
```
|
||||||
|
|
||||||
and it will create symbolic links to the dotfiles in this repo.
|
and it will create symbolic links to the dotfiles in this repo.
|
||||||
|
|
|
@ -24,13 +24,9 @@ getGitconfigData() {
|
||||||
|
|
||||||
startRice() {
|
startRice() {
|
||||||
dialog --title "CocoRice" --msgbox "Hi! This script will auto install my dotfiles. Make sure to backup your dotfiles!" 10 60
|
dialog --title "CocoRice" --msgbox "Hi! This script will auto install my dotfiles. Make sure to backup your dotfiles!" 10 60
|
||||||
|
|
||||||
getGitconfigData
|
getGitconfigData
|
||||||
|
|
||||||
./scripts/linkFiles.sh
|
./scripts/linkFiles.sh
|
||||||
|
|
||||||
./scripts/install.sh
|
./scripts/install.sh
|
||||||
|
|
||||||
clear
|
clear
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -43,6 +43,7 @@ linkFile() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
loopThroughFiles() {
|
||||||
lastFolder=$(pwd -P)
|
lastFolder=$(pwd -P)
|
||||||
|
|
||||||
DOTFILES=$(echo "$(pwd -P)" | awk '{ sub(/CocoRice.*/, "CocoRice"); print }')
|
DOTFILES=$(echo "$(pwd -P)" | awk '{ sub(/CocoRice.*/, "CocoRice"); print }')
|
||||||
|
@ -82,3 +83,6 @@ for initialFolder in "$DOTFILES_CONFIG" "$DOTFILES_ICONS" "$DOTFILES_SSH" "$DOTF
|
||||||
done
|
done
|
||||||
|
|
||||||
cd $lastFolder
|
cd $lastFolder
|
||||||
|
}
|
||||||
|
|
||||||
|
loopThroughFiles
|
Loading…
Reference in New Issue