Last active
September 27, 2018 08:02
-
-
Save adikrishnan/a7d73b44022d5e2ba8e169d1f9cec312 to your computer and use it in GitHub Desktop.
Vim and Bash Profile Settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias vi='vim' | |
alias ls='ls -lh --color=auto' | |
export LC_ALL=C.UTF-8 | |
export LANG=C.UTF-8 | |
export FLASK_APP=runserver.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set wrap | |
set tabstop=4 shiftwidth=4 expandtab | |
set clipboard=unnamed | |
set nu | |
colorscheme desert |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [ $# -eq 0 ] | |
then | |
echo "Are you out of your vulcan mind? Gimme 'em servers to push settings to!" | |
exit 1 | |
fi | |
for i in "$@"; | |
do | |
echo "Copying .vimrc to $i" | |
scp vimrc $i:~/.vimrc | |
echo "Copying .bash_profile to $i" | |
scp bash_profile $i:~/.bash_profile | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment