mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Round 1 of files
This commit is contained in:
parent
a4bc5977cf
commit
0673e01c0a
12 changed files with 187 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
.vagrant/
|
||||
7
.travis.yml
Normal file
7
.travis.yml
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
language: python
|
||||
python:
|
||||
- '2.7'
|
||||
- '3.3'
|
||||
- pypy
|
||||
script: pytest
|
||||
|
||||
3
Vagrantfile
vendored
Normal file
3
Vagrantfile
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Vagrant.configure("2") do |config|
|
||||
config.vm.box = "genebean/centos-7-nocm"
|
||||
end
|
||||
16
bin/dots.py
Normal file
16
bin/dots.py
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import platform
|
||||
|
||||
my_platform=platform.platform().lower()
|
||||
if 'darwin' in my_platform:
|
||||
mac_version=platform.mac_ver()[0].split('.')
|
||||
if int(mac_version[0]) == 10 and int(mac_version[1]) >= 12:
|
||||
print("It seems you are on macOS")
|
||||
elif int(mac_version[0]) == 10 and int(mac_version[1]) < 12:
|
||||
print("It seems you are on OS X")
|
||||
else:
|
||||
print("What tha... you're Apple is pre-OS X (" + platform.mac_ver()[0] + " to be exact)" )
|
||||
elif 'linux' in my_platform:
|
||||
print("It seems you are on Linux")
|
||||
else:
|
||||
print("Not sure what OS you are on but here's what I see: " + my_platform)
|
||||
|
||||
13
copy/mac/gitconfig
Normal file
13
copy/mac/gitconfig
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[core]
|
||||
excludesfile = /Users/gliverma/.gitignore_global
|
||||
[difftool "sourcetree"]
|
||||
cmd = /Applications/SourceTree.app/Contents/Resources/araxiscompare-w.sh -2 \"$LOCAL\" \"$REMOTE\"
|
||||
path =
|
||||
[mergetool "sourcetree"]
|
||||
cmd = /Applications/SourceTree.app/Contents/Resources/araxisgitmerge-w.sh \"$REMOTE\" \"$BASE\" \"$LOCAL\" \"$MERGED\"
|
||||
trustExitCode = true
|
||||
[user]
|
||||
name = Gene Liverman
|
||||
email = gene@technicalissues.us
|
||||
[commit]
|
||||
template = /Users/geneliverman/.stCommitMsg
|
||||
5
copy/puppetforge.yml
Normal file
5
copy/puppetforge.yml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
url: 'https://forgeapi.puppetlabs.com'
|
||||
username: 'genebean'
|
||||
password: 'change-me-to-a-real-password'
|
||||
|
||||
3
link/gemrc
Normal file
3
link/gemrc
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
---
|
||||
gem: --no-ri --no-rdoc
|
||||
|
||||
16
link/mac/profile
Normal file
16
link/mac/profile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
alias ll='ls -G -l'
|
||||
alias ls='ls -G'
|
||||
|
||||
export EDITOR='vim'
|
||||
|
||||
export PATH=$PATH:~/.nexustools
|
||||
export PATH=$PATH:/Applications/Araxis\ Merge.app/Contents/Utilities
|
||||
|
||||
#export PS1='\u:☕️ \W \$ '
|
||||
if [ -f $(brew --prefix)/etc/bash_completion ]; then
|
||||
source $(brew --prefix)/etc/bash_completion
|
||||
source $(brew --prefix)/etc/bash_completion.d/git-completion.bash
|
||||
source $(brew --prefix)/etc/bash_completion.d/git-prompt.sh
|
||||
fi
|
||||
export GIT_PS1_SHOWDIRTYSTATE=true
|
||||
export PS1='\h:\W \$$(__git_ps1) '
|
||||
3
link/nix/ssh/config
Normal file
3
link/nix/ssh/config
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Host *.westga.edu
|
||||
User ven-gliverman
|
||||
|
||||
1
link/nix/tmux.conf
Normal file
1
link/nix/tmux.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
source "/usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf"
|
||||
35
link/nix/vimrc
Normal file
35
link/nix/vimrc
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
execute pathogen#infect()
|
||||
syntax on
|
||||
|
||||
filetype indent plugin on
|
||||
|
||||
set encoding=utf-8
|
||||
set termencoding=utf-8
|
||||
|
||||
set autoindent
|
||||
set background=dark
|
||||
set expandtab
|
||||
set fillchars+=stl:\ ,stlnc:\
|
||||
set laststatus=2
|
||||
set nocompatible
|
||||
set smarttab
|
||||
set statusline+=%#warningmsg#
|
||||
set statusline+=%{SyntasticStatuslineFlag()}
|
||||
set statusline+=%*
|
||||
set t_Co=256
|
||||
|
||||
colorscheme solarized
|
||||
|
||||
let g:syntastic_always_populate_loc_list = 1
|
||||
let g:syntastic_auto_loc_list = 1
|
||||
let g:syntastic_check_on_open = 1
|
||||
let g:syntastic_check_on_wq = 0
|
||||
let g:syntastic_enable_signs = 1
|
||||
let g:syntastic_ruby_checkers = ['rubocop']
|
||||
let g:syntastic_quiet_messages = {'level': 'warnings'}
|
||||
let g:vim_markdown_folding_disabled = 1
|
||||
|
||||
python from powerline.vim import setup as powerline_setup
|
||||
python powerline_setup()
|
||||
python del powerline_setup
|
||||
|
||||
84
link/nix/zshrc
Normal file
84
link/nix/zshrc
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
# Path to your oh-my-zsh installation.
|
||||
export ZSH=/Users/gliverma/.oh-my-zsh
|
||||
|
||||
# Set name of the theme to load. Optionally, if you set this to "random"
|
||||
# it'll load a random theme each time that oh-my-zsh is loaded.
|
||||
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
|
||||
#ZSH_THEME="af-magic"
|
||||
#ZSH_THEME="pygmalion"
|
||||
#ZSH_THEME="muse"
|
||||
ZSH_THEME="beanbag"
|
||||
|
||||
# Uncomment the following line to use case-sensitive completion.
|
||||
# CASE_SENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to use hyphen-insensitive completion. Case
|
||||
# sensitive completion must be off. _ and - will be interchangeable.
|
||||
# HYPHEN_INSENSITIVE="true"
|
||||
|
||||
# Uncomment the following line to disable bi-weekly auto-update checks.
|
||||
# DISABLE_AUTO_UPDATE="true"
|
||||
|
||||
# Uncomment the following line to change how often to auto-update (in days).
|
||||
# export UPDATE_ZSH_DAYS=13
|
||||
|
||||
# Uncomment the following line to disable colors in ls.
|
||||
# DISABLE_LS_COLORS="true"
|
||||
|
||||
# Uncomment the following line to disable auto-setting terminal title.
|
||||
# DISABLE_AUTO_TITLE="true"
|
||||
|
||||
# Uncomment the following line to enable command auto-correction.
|
||||
ENABLE_CORRECTION="true"
|
||||
|
||||
# Uncomment the following line to display red dots whilst waiting for completion.
|
||||
COMPLETION_WAITING_DOTS="false"
|
||||
|
||||
# Uncomment the following line if you want to disable marking untracked files
|
||||
# under VCS as dirty. This makes repository status check for large repositories
|
||||
# much, much faster.
|
||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||
|
||||
# Uncomment the following line if you want to change the command execution time
|
||||
# stamp shown in the history command output.
|
||||
# The optional three formats: "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
|
||||
# HIST_STAMPS="mm/dd/yyyy"
|
||||
|
||||
# Would you like to use another custom folder than $ZSH/custom?
|
||||
# ZSH_CUSTOM=/path/to/new-custom-folder
|
||||
|
||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(brew gem git git-flow history osx python vagrant)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# User configuration
|
||||
|
||||
source ~/.private-env
|
||||
|
||||
# export MANPATH="/usr/local/man:$MANPATH"
|
||||
|
||||
# Set personal aliases, overriding those provided by oh-my-zsh libs,
|
||||
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
|
||||
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
|
||||
# For a full list of active aliases, run `alias`.
|
||||
#
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
#alias ll='ls -G -l'
|
||||
#alias ls='ls -G'
|
||||
alias sz='source ~/.zshrc'
|
||||
|
||||
export EDITOR='vim'
|
||||
export POWERLINE_CONFIG_COMMAND='/usr/local/bin/powerline-config'
|
||||
|
||||
export PATH=$PATH:~/.nexustools
|
||||
export PATH=$PATH:/Applications/Araxis\ Merge.app/Contents/Utilities
|
||||
|
||||
|
||||
# added by travis gem
|
||||
[ -f /Users/gliverma/.travis/travis.sh ] && source /Users/gliverma/.travis/travis.sh
|
||||
Loading…
Add table
Add a link
Reference in a new issue