Instantly share code, notes, and snippets.

Embed
What would you like to do?
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