Merge branch 'master' of gitlab.com:tyrelsouza/dotfiles
This commit is contained in:
parent
82bccebb71
commit
ee244c8aad
@ -10,6 +10,7 @@ ln -s ~/.config/nvim ~/.vim
|
||||
ln -s ~/.config/nvim/init.vim ~/.vimrc
|
||||
ln -s $(pwd)/zshrc ~/.zshrc
|
||||
ln -s $(pwd)/tyrel.zsh-theme ~/.oh-my-zsh/themes/tyrel.zsh-theme
|
||||
ln -s $(pwd)/pythonstartup.py ~/.pythonstartup.py
|
||||
|
||||
# Setup vim
|
||||
mkdir -p ~/.vim/bundle
|
||||
|
25
bash_aliases
25
bash_aliases
@ -1,20 +1,3 @@
|
||||
alias nginx.start='sudo launchctl load /Library/LaunchDaemons/homebrew.mxcl.nginx.plist'
|
||||
alias nginx.stop='sudo launchctl unload /Library/LaunchDaemons/homebrew.mxcl.nginx.plist'
|
||||
alias nginx.restart='nginx.stop && nginx.start'
|
||||
alias php-fpm.start="launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php56.plist"
|
||||
alias php-fpm.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.php56.plist"
|
||||
alias php-fpm.restart='php-fpm.stop && php-fpm.start'
|
||||
alias mysql.start="launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist"
|
||||
alias mysql.stop="launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist"
|
||||
alias mysql.restart='mysql.stop && mysql.start'
|
||||
alias nginx.logs.error='tail -250f /usr/local/etc/nginx/logs/error.log'
|
||||
alias nginx.logs.access='tail -250f /usr/local/etc/nginx/logs/access.log'
|
||||
alias nginx.logs.default.access='tail -250f /usr/local/etc/nginx/logs/default.access.log'
|
||||
alias nginx.logs.default-ssl.access='tail -250f /usr/local/etc/nginx/logs/default-ssl.access.log'
|
||||
alias nginx.logs.phpmyadmin.error='tail -250f /usr/local/etc/nginx/logs/phpmyadmin.error.log'
|
||||
alias nginx.logs.phpmyadmin.access='tail -250f /usr/local/etc/nginx/logs/phpmyadmin.access.log'
|
||||
function gi() { curl -L -s https://www.gitignore.io/api/$@ ;}
|
||||
function glate(){git for-each-ref --sort=-committerdate refs/heads/ --format='%(refname) %(committerdate) %(authorname)' | sed 's/refs\/heads\///g';}
|
||||
export HOMEBREW_GITHUB_API_TOKEN="caf4cd85c6eb6ddcf006d4571d4a294c0b0592e4"
|
||||
alias ag='\ag --pager="less"'
|
||||
alias cg='cd "$(git rev-parse --show-toplevel)"'
|
||||
@ -22,9 +5,15 @@ alias fuck='eval $(thefuck $(fc -ln -1)); history -r'
|
||||
alias g='git'
|
||||
alias pdb="python -m pdb"
|
||||
alias ppjson="python -m json.tool"
|
||||
alias rm=trash
|
||||
|
||||
# Addgene specific
|
||||
alias adocs='cd $ADDGENE_CORE_REPO_DIR/docs && make html && open $ADDGENE_CORE_REPO_DIR/docs/build/html/index.html'
|
||||
alias deploy_all="fab -R silver-web deploy:master && fab -R gold-web deploy:master && fab -R jupyter fab -R jupyter deploy_jupyter && fab --parallel avail_staging_hosts deploy:master"
|
||||
alias deploy_all_migration="fab -R silver-web deploy:master,1 && fab -R gold-web deploy:master,1 && fab -R jupyter deploy_jupyter & fab --parallel avail_staging_hosts deploy:master,1"
|
||||
alias aenv='env | sort | grep ADDGENE'
|
||||
alias sl='source local.env'
|
||||
unalias mysql
|
||||
|
||||
if [[ $OSTYPE == darwin* ]]; then
|
||||
alias rm=trash;
|
||||
fi;
|
||||
|
@ -11,3 +11,4 @@ tmp/**/*
|
||||
!tmp/cache/.keep
|
||||
.pre-commit-config.yaml
|
||||
.ruby-version
|
||||
release_package.sh
|
||||
|
3
pythonstartup.py
Normal file
3
pythonstartup.py
Normal file
@ -0,0 +1,3 @@
|
||||
import sys
|
||||
import pprint
|
||||
sys.displayhook = pprint.pprint
|
2
vimrc
2
vimrc
@ -114,3 +114,5 @@ if filereadable($HOME . "/.vimrc.local")
|
||||
source ~/.vimrc.local
|
||||
endif
|
||||
set background=dark
|
||||
let NERDTreeIgnore = ['\.pyc$']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user