17 lines
570 B
Bash
Executable File
17 lines
570 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
|
|
mkdir -p ~/.config/fish && ln -sf $PWD/fish/config.fish ~/.config/fish/config.fish
|
|
mkdir -p ~/.config/tmux && ln -sf $PWD/tmux/tmux.conf ~/.config/tmux/tmux.conf
|
|
mkdir -p ~/.vim && ln -sf $PWD/vim/vimrc ~/.vim/vimrc
|
|
|
|
echo "Finished"
|