-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall
executable file
·36 lines (25 loc) · 979 Bytes
/
install
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
29
30
31
32
33
34
35
36
#!/bin/bash
cd ~/
mkdir -p ~/.local/bin
mkdir -p ~/.config
for f in bash_profile bashrc emacs inputrc; do
test -f ~/.$f && mv ~/.$f ~/.${f}.OLD
ln -s ~/dotfiles/$f .$f
done
for f in gitconfig; do
test -f ~/.$f || cp ~/dotfiles/$f .$f
done
ln -f -s ~/dotfiles/nvim ~/.config/
#mkdir -p ~/.emacs.d/straight/versions/
#ln -f -s ~/dotfiles/version-lock.el ~/.emacs.d/straight/versions/default.el
mkdir -p ~/.emacs.d/
echo '(setq package-enable-at-startup nil)' >~/.emacs.d/early-init.el
ln -f -s ~/dotfiles/bin/go-tool-install ~/.local/bin
#mkdir -p ~/.config/i3
#ln -s ~/dotfiles/i3 ~/.config/i3/config
#sudo dnf install compat-lua-libs libtermkey libtree-sitter libvterm luajit luajit2.1-luv msgpack unibilium xsel
mkdir -p ~/.config/efm-langserver/
ln -f -s ~/dotfiles/efm-langserver/config.yaml ~/.config/efm-langserver/config.yaml
#rmdir ~/Templates ~/Public
ln -f -s ~/dotfiles/bin/ll ~/.local/bin
ln -f -s ~/dotfiles/bin/clean-git-branches ~/.local/bin