-
Notifications
You must be signed in to change notification settings - Fork 1
/
get
executable file
·28 lines (21 loc) · 1.02 KB
/
get
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/env bash
set -o nounset -o pipefail -o errexit
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
cd "${BASEDIR}"
git submodule sync
git submodule update --init --recursive
nvim_spell="nvim/spell"
mkdir --parents "$nvim_spell"
for file in {en,de}.utf-8.{spl,sug};do
if [ ! -e "$nvim_spell/$file" ];then
wget --continue "https://ftp.nluug.nl/pub/vim/runtime/spell/$file" --output-document="$nvim_spell/$file"
fi
done
## Legacy. Needed on Debian wheezy system.
wget --continue "https://ftp.nluug.nl/pub/vim/runtime/spell/de.latin1.spl" --output-document="$nvim_spell/de.latin1.spl"
## Improves performance of ZSH. Functions not needed or not used (yet).
## Leave submodule dirty.
pushd oh-my-zsh/lib/
rm -f bzr.zsh correction.zsh grep.zsh key-bindings.zsh misc.zsh nvm.zsh spectrum.zsh termsupport.zsh functions.zsh nvm.zsh
popd
rm -rf submodules/dotfiles-fiatjaf/vim/vim submodules/dotfiles-fiatjaf/fish_functions/fzf_key_bindings.fish submodules/dotfiles-fiatjaf/fish_functions/fish_user_key_bindings.fish