Compare commits
10 commits
f4a09362aa
...
f699bc6210
Author | SHA1 | Date | |
---|---|---|---|
f699bc6210 | |||
297497c703 | |||
8150607fc1 | |||
3e1a8ba731 | |||
|
db5ad81767 | ||
|
2895acbade | ||
|
ced2b664f1 | ||
|
b7b0b94ba2 | ||
|
d094f5d36a | ||
|
0dec6ab972 |
4 changed files with 21 additions and 23 deletions
16
install.sh
16
install.sh
|
@ -2,14 +2,14 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
cd $HOME
|
cd $HOME
|
||||||
REPO_URL=git@github.com:ickyicky/dot.git
|
REPO_URL=ssh://git@gitea.domandoman.xyz:222/doman/dot.git
|
||||||
git clone --bare $REPO_URL $HOME/.dot/
|
git clone --bare $REPO_URL $HOME/.dot/
|
||||||
alias dot="/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME"
|
/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME config status.showUntrackedFiles no
|
||||||
dot config status.showUntrackedFiles no
|
/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME restore --staged .
|
||||||
dot restore .
|
/usr/bin/git --git-dir=$HOME/.dot/ --work-tree=$HOME restore .
|
||||||
|
|
||||||
mkdir -p Projects/[Personal,Work]
|
mkdir -p {Personal,Work}
|
||||||
SETUP_REPO_URL=git@github.com:ickyicky/setup.git
|
SETUP_REPO_URL=ssh://git@gitea.domandoman.xyz:222/doman/setup.git
|
||||||
git clone $SETUP_REPO_URL Projects/Personal/setup
|
git clone $SETUP_REPO_URL Personal/setup
|
||||||
cd Projects/Personal/setup
|
cd Personal/setup
|
||||||
./setup.sh
|
./setup.sh
|
||||||
|
|
|
@ -11,7 +11,8 @@ setup_macos() {
|
||||||
|
|
||||||
|
|
||||||
install_macos_casks() {
|
install_macos_casks() {
|
||||||
brew install --cask nextcloud spotify discord messenger openvpn-connect docker maccy geekbench sanesidebuttons amethyst scroll-reverser adguard
|
brew install --cask nextcloud discord messenger openvpn-connect docker maccy geekbench sanesidebuttons amethyst scroll-reverser aldente betterdisplay hiddenbar maccy sanesidebuttons scroll-reverser
|
||||||
|
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
11
scripts/tmux.sh
Normal file
11
scripts/tmux.sh
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#! /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
|
|
@ -1,14 +0,0 @@
|
||||||
#! /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