16 lines
279 B
Bash
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
|