fd also should check for a local config. Plus some cleaning.
This commit is contained in:
parent
ae35fdd5e1
commit
a91a3d3932
3 changed files with 18 additions and 7 deletions
|
@ -1,9 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
# clean + prepare local dirs
|
||||
rm -rf ~/.cache /tmp/${USER}-cache ~/.config/_cache
|
||||
rm -rf ~/.cache ~/.config/_cache /tmp/${USER}-cache
|
||||
rm -rf ~/.fdignore ~/.fzf.bash ~/.fzf.zsh ~/.gitconfig ~/.gitignore ~/.history ~/.tmux.conf ~/.vim* ~/.zcomp* ~/.zsh*
|
||||
mkdir -p /tmp/${USER}-cache/ ~/.config ~/.local/bin ~/.local/share ~/.local/config
|
||||
mkdir -p /tmp/${USER}-cache/ ~/.config ~/.local/bin ~/.local/share
|
||||
chmod 700 /tmp/${USER}-cache
|
||||
|
||||
# prepare global variables
|
||||
|
@ -29,7 +29,6 @@ ln -sf $XDG_DATA_HOME/repos/dotfiles/nvim ~/.config/
|
|||
## fdignore
|
||||
rm -rf ~/.config/fd
|
||||
ln -sf $XDG_DATA_HOME/repos/dotfiles/fd ~/.config/
|
||||
touch ~/.local/config/fd
|
||||
|
||||
## tmux
|
||||
rm -rf ~/.config/tmux
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue