env setup

This commit is contained in:
2025-08-25 19:53:48 +03:00
parent 1be97f416a
commit 3469aa57e6
2 changed files with 182 additions and 0 deletions

23
env_setup.sh Normal file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
# To setup the environment
function env_setup{
# Setting up the .vimrc
VIMRC_LOCATION = $(find $HOME/ -iwholename .vimrc)
if [ "$HOME/.vimrc" = "$VIMRC_LOCATION" ]; then
mv $HOME/.vimrc $HOME/.vimrc.bck
fi
mv $(pwd)/.vimrc $HOME/.vimrc
source $HOME/.vimrc
}