dotfiles/fzf.sh
2023-02-10 01:02:24 -05:00

15 lines
250 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