17 lines
483 B
Bash
Executable File
17 lines
483 B
Bash
Executable File
#!/bin/sh
|
|
|
|
echo "Warning: This will force overwrite your .bashrc and so on.
|
|
If you want to exit, please press Ctrl+C to exit.
|
|
Press the Enter to continue."
|
|
read _
|
|
|
|
sed -i "s#^Profile_PATH.*\$#Profile_PATH=$PWD#g" bash/.bashrc
|
|
sed -i "s#^set Profile_PATH .*\$#set Profile_PATH $PWD#g" fish/config.fish
|
|
|
|
ln -sf $PWD/bash/.bashrc ~/.bashrc
|
|
ln -sf $PWD/fish/config.fish ~/.config/fish/config.fish
|
|
ln -sf $PWD/vim/.vimrc ~/.vimrc
|
|
ln -sf $PWD/tmux/.tmux.conf ~/.tmux.conf
|
|
|
|
echo "Finished"
|