aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
index 97ce529..f8b2f32 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -11,6 +11,8 @@ xcache="${XDG_CACHE_HOME:-${HOME}/.cache}"
xdata="${XDG_DATA_HOME:-${HOME}/.local/share}"
xconfig="${XDG_CONFIG_HOME:-${HOME}/.config}"
+userbin="$HOME/bin"
+
# deploy to XDG dirs
mkdir -p "${xcache}/zsh"
mkdir -p "${xdata}/zsh"
@@ -36,6 +38,17 @@ do
done
cd ..
+# deploy to user binaries
+cd bin
+for f in *
+do
+ if [ -e "$userbin/${f}" ]; then
+ mv "$userbin/${f}" "../dotfiles-backup/${f}"
+ fi
+ ln -sf "$(pwd)/${f}" "$userbin/${f}"
+done
+cd ..
+
# install vundle for vim
if [ ! -d ~/.vim/bundle/vundle ]; then
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
@@ -58,3 +71,9 @@ if [ ! -e ~/.local/share/fonts/sourcecodepro-nerd ]; then
unzip local/SourceCodePro.zip -d ~/.local/share/fonts/sourcecodepro-nerd
echo "Run \'fc-cache -v\' to rebuild your font cache"
fi
+if [ ! -e ~/.config/duplicity/config ]; then
+ cp local/duplicity-config ~/.config/duplicity/config
+fi
+if [ ! -e ~/.config/duplicity/excludes ]; then
+ cp local/duplicity-excludes ~/.config/duplicity/excludes
+fi