-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall
More file actions
executable file
·23 lines (17 loc) · 802 Bytes
/
install
File metadata and controls
executable file
·23 lines (17 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
for file in $(ls -a); do
if [[ $file != "." && $file != ".." && $file != "README.md" && $file != "install" && $file != ".git" && file != "nvim" ]]; then
cp -R $file ~/$file
fi
done
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )"
git clone https://github.com/magicmonty/bash-git-prompt.git "${HOME}/.bash-git-prompt" --depth=1
ln -s "${DIR}/nvim" "${HOME}/.config/nvim"
nvim +PlugInstall +qall
git clone https://github.com/fatih/vim-go.git "${HOME}/.local/share/nvim/site/pack/plugins/start/vim-go"
npm install neovim
pip3 install neovim
export GOPATH="${HOME}/go"
nvim +GoInstallBinaries +qall
mkdir -p "${HOME}/Library/Application Support/com.mitchellh.ghostty/config"
mv ghostty.config "${HOME}/Library/Application Support/com.mitchellh.ghostty/config"