16 lines
287 B
Bash
16 lines
287 B
Bash
#!/usr/bin/env 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
|