New approach to dotfiles handling.
This commit is contained in:
parent
af2d271f03
commit
74ec21fafd
5 changed files with 12 additions and 12 deletions
|
@ -3,7 +3,7 @@
|
|||
# clean + prepare local dirs
|
||||
rm -rf ~/.cache ~/.config/_cache
|
||||
rm -rf ~/.fdignore ~/.fzf.bash ~/.fzf.zsh ~/.gitconfig ~/.gitignore ~/.history ~/.tmux.conf ~/.vim* ~/.zcomp* ~/.zsh*
|
||||
mkdir -p ~/.cache/ ~/.config ~/.local/bin ~/.local/share ~/.local/settings
|
||||
mkdir -p ~/.cache/ ~/.config ~/.local/bin ~/.local/share ~/.local/config
|
||||
|
||||
# prepare global variables
|
||||
echo "skip_global_compinit=1" > $HOME/.zshenv
|
||||
|
@ -24,12 +24,12 @@ git clone --recurse https://git.insomniac.pl/ftpd/dotfiles $XDG_DATA_HOME/repos/
|
|||
## vim
|
||||
rm -rf ~/.config/vim
|
||||
ln -sf $XDG_DATA_HOME/repos/dotfiles/vim ~/.config/
|
||||
touch ~/.local/settings/vimrc
|
||||
touch ~/.local/config/vimrc
|
||||
|
||||
## fdignore
|
||||
rm -rf ~/.config/fd
|
||||
ln -sf $XDG_DATA_HOME/repos/dotfiles/fd ~/.config/
|
||||
touch ~/.local/settings/fd
|
||||
touch ~/.local/config/fd
|
||||
|
||||
## tmux
|
||||
rm -rf ~/.config/tmux
|
||||
|
@ -47,4 +47,4 @@ done
|
|||
## zsh
|
||||
rm -rf ~/.config/zsh
|
||||
ln -sf $XDG_DATA_HOME/repos/dotfiles/zsh ~/.config/
|
||||
touch ~/.local/settings/zsh
|
||||
touch ~/.local/config/zsh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue