Skip to content

Instantly share code, notes, and snippets.

@adikrishnan
Last active September 27, 2018 08:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adikrishnan/a7d73b44022d5e2ba8e169d1f9cec312 to your computer and use it in GitHub Desktop.
Save adikrishnan/a7d73b44022d5e2ba8e169d1f9cec312 to your computer and use it in GitHub Desktop.
Vim and Bash Profile Settings
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
set wrap
set tabstop=4 shiftwidth=4 expandtab
set clipboard=unnamed
set nu
colorscheme desert
#!/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