dotfiles/fzf.sh
2023-04-03 15:22:38 -04:00

16 lines
279 B
Bash

#!/bin/bash
source ./setenv.sh
DIR="$1"
if [ -d /home/$USER/.fzf ]; then
rm -r /home/$USER/.fzf
fi
mkdir /home/$USER/.fzf
cp $DIR/key-bindings.bash /home/$USER/.fzf
cp $DIR/completion.bash /home/$USER/.fzf
chown -R $USER:$USER /home/$USER/.fzf
cp -r /home/$USER/.fzf /root