reinit
This commit is contained in:
16
run.sh
Executable file
16
run.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/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 ~/.config/vim && ln -sf $PWD/vim/vimrc ~/.config/vim/vimrc
|
||||
|
||||
echo "Finished"
|
||||
Reference in New Issue
Block a user