Compare commits
No commits in common. "f699bc62101ff743b97408abb57d8826ee7d3ea8" and "f4a09362aa72ffaa389902f057e4624db2986518" have entirely different histories.
f699bc6210
...
f4a09362aa
4 changed files with 23 additions and 21 deletions
16
install.sh
16
install.sh
|
@ -2,14 +2,14 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
cd $HOME
|
cd $HOME
|
||||||
REPO_URL=ssh://git@gitea.domandoman.xyz:222/doman/dot.git
|
REPO_URL=git@github.com:ickyicky/dot.git
|
||||||
git clone --bare $REPO_URL $HOME/.dot/
|
git clone --bare $REPO_URL $HOME/.dot/
|
||||||
/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME config status.showUntrackedFiles no
|
alias dot="/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME"
|
||||||
/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME restore --staged .
|
dot config status.showUntrackedFiles no
|
||||||
/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME restore .
|
dot restore .
|
||||||
|
|
||||||
mkdir -p {Personal,Work}
|
mkdir -p Projects/[Personal,Work]
|
||||||
SETUP_REPO_URL=ssh://git@gitea.domandoman.xyz:222/doman/setup.git
|
SETUP_REPO_URL=git@github.com:ickyicky/setup.git
|
||||||
git clone $SETUP_REPO_URL Personal/setup
|
git clone $SETUP_REPO_URL Projects/Personal/setup
|
||||||
cd Personal/setup
|
cd Projects/Personal/setup
|
||||||
./setup.sh
|
./setup.sh
|
||||||
|
|
|
@ -11,8 +11,7 @@ setup_macos() {
|
||||||
|
|
||||||
|
|
||||||
install_macos_casks() {
|
install_macos_casks() {
|
||||||
brew install --cask nextcloud discord messenger openvpn-connect docker maccy geekbench sanesidebuttons amethyst scroll-reverser aldente betterdisplay hiddenbar maccy sanesidebuttons scroll-reverser
|
brew install --cask nextcloud spotify discord messenger openvpn-connect docker maccy geekbench sanesidebuttons amethyst scroll-reverser adguard
|
||||||
brew install neovim
|
|
||||||
brew tap homebrew/cask-fonts && brew install --cask font-hack-nerd-font
|
brew tap homebrew/cask-fonts && brew install --cask font-hack-nerd-font
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
#! /bin/bash
|
|
||||||
#
|
|
||||||
#
|
|
||||||
|
|
||||||
configure_tmux() {
|
|
||||||
git clone https://github.com/tmux-plugins/tpm "$HOME/.tmux/plugins/tpm"
|
|
||||||
bash "$HOME/.tmux/plugins/tpm/scripts/install_plugins.sh"
|
|
||||||
}
|
|
||||||
|
|
||||||
ask "configure tmux? (y/n)"
|
|
||||||
[ "$RESP" != "n" ] && configure_tmux
|
|
14
scripts/vim.sh
Normal file
14
scripts/vim.sh
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
#! /bin/bash
|
||||||
|
#
|
||||||
|
|
||||||
|
VIM_PLUG_INSTALL="https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim"
|
||||||
|
|
||||||
|
setup_vim() {
|
||||||
|
curl -fLo ~/.vim/autoload/plug.vim --create-dirs ${VIM_PLUG_INSTALL}
|
||||||
|
vim +PlugInstall +qall
|
||||||
|
git clone --depth 1 https://github.com/AstroNvim/AstroNvim ~/.config/nvim
|
||||||
|
git clone git@github.com:ickyicky/astrovim_config.git ~/.config/nvim/lua/user
|
||||||
|
}
|
||||||
|
|
||||||
|
ask "setup vim? (y/n)"
|
||||||
|
[ "$RESP" != "n" ] && setup_vim
|
Loading…
Reference in a new issue