33 lines
1,001 B
Bash
Executable file
33 lines
1,001 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Because Git submodule commands cannot operate without a work tree, they must
|
|
# be run from within $HOME (assuming this is the root of your dotfiles)
|
|
cd "$HOME"
|
|
|
|
#echo "Init submodules"
|
|
#yadm submodule update --recursive --init
|
|
|
|
echo "Install a few things:"
|
|
mkdir "$HOME/bin"
|
|
echo "+ ZIM"
|
|
rm -f ".zimrc" ".zlogin" ".zshenv" ".zshrc"
|
|
curl -fsSL https://raw.githubusercontent.com/zimfw/install/master/install.zsh | zsh
|
|
yadm checkout -- "$HOME/.zimrc"
|
|
yadm checkout -- "$HOME/.zlogin"
|
|
yadm checkout -- "$HOME/.zshrc"
|
|
zimfw install
|
|
echo "+ TMux Plugin Manager"
|
|
mkdir -p "$HOME/.tmux/plugins"
|
|
git clone https://github.com/tmux-plugins/tpm "$HOME/.tmux/plugins/tpm"
|
|
echo "+ SpaceVim"
|
|
curl -sLf https://spacevim.org/install.sh | bash
|
|
|
|
if [[ -f /etc/os-release ]]; then
|
|
source /etc/os-release
|
|
|
|
if [[ "$ID" == "linuxmint" ]]; then
|
|
gsettings set org.cinnamon.desktop.keybindings.wm activate-window-menu '[]'
|
|
gsettings set org.cinnamon.desktop.keybindings.wm switch-group '[]'
|
|
fi
|
|
fi
|
|
|