Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initial commit

  • Loading branch information...
commit 275a9df4fe659390080c9212c35e286059622499 0 parents
@goshakkk authored
6 .gitmodules
@@ -0,0 +1,6 @@
+[submodule "janus/powerline"]
+ path = janus/powerline
+ url = https://github.com/Lokaltog/vim-powerline.git
+[submodule "janus/surround"]
+ path = janus/surround
+ url = https://github.com/tpope/vim-surround.git
8 README.md
@@ -0,0 +1,8 @@
+# goshakkk/dotfiles
+
+Just a collection of dotfiles of mine.
+
+## Installation
+
+ git submodule update --init --recursive
+ ./install.sh
1  ctags
@@ -0,0 +1 @@
+--recurse=yes
2  gemrc
@@ -0,0 +1,2 @@
+---
+gem: --no-ri --no-rdoc
25 gitconfig
@@ -0,0 +1,25 @@
+[core]
+ editor = mvim -f
+ quotepath = false
+ excludesfile = ~/.gitignore
+
+[user]
+ name = Gosha Arinich
+ email = me@goshakkk.name
+
+[github]
+ user = goshakkk
+
+[color]
+ ui = auto
+ interactive = auto
+
+[alias]
+ lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
+ st = status
+ s = status -s
+ ci = commit --all
+ co = checkout
+ nb = checkout -b
+ br = branch --verbose
+ forget = rm --cached
14 gitignore
@@ -0,0 +1,14 @@
+.DS_Store
+._*
+.Spotlight-V100
+.Trashes
+.sass-cache
+TAGS
+!TAGS/
+tags
+!tags/
+.*.sw[a-z]
+*.un~
+Session.vim
+*.o
+*.bak
9 gvimrc.after
@@ -0,0 +1,9 @@
+"" Disabling the toolbar
+set go-=T
+"" And scrollbar
+set guioptions=aAce
+
+set transparency=10 "" Requires an experimental renderer
+set guifont=Menlo:h14
+
+colorscheme solarized
18 install.sh
@@ -0,0 +1,18 @@
+#!/bin/zsh
+pwd > ~/.dotfiles_location
+
+link() {
+ rm -rf $HOME/.$1
+ ln -s $(pwd)/$1 $HOME/.$1
+}
+
+link zshrc
+link gitconfig
+link gitignore
+link ctags
+link vimrc.before
+link gvimrc.after
+link janus
+link gemrc
+
+echo "Installed dotfiles!"
1  janus/powerline
@@ -0,0 +1 @@
+Subproject commit c4b72c5be57b165bb6a89d0b8a974fe62c0091d0
1  janus/surround
@@ -0,0 +1 @@
+Subproject commit 1a73f607f8f5477d6942df2eb6e7245c4864f4d3
2  vimrc.before
@@ -0,0 +1,2 @@
+let mapleader = ","
+let g:Powerline_symbols = 'fancy'
64 zshrc
@@ -0,0 +1,64 @@
+# Setting vars
+export EDITOR="mvim -f"
+export VISUAL=$EDITOR
+export PROJECTSDIR=$HOME/Projects
+export CODEDIR=$PROJECTSDIR
+
+if [[ -e $HOME/.dotfiles_location ]]; then
+ export DOTFILES=$(cat $HOME/.dotfiles_location)
+else
+ export DOTFILES=$CODEDIR/dotfiles
+ echo "~/.dotfiles_location not found, reinstall dotfiles"
+fi
+
+# Aliases
+alias b="bundle"
+alias be="bundle exec"
+alias ci="git commit -m"
+alias g="git"
+alias gi="gem install"
+alias r="rails"
+alias vi="vim"
+alias e="vim"
+
+ZSH=$HOME/.oh-my-zsh
+ZSH_THEME="sammy"
+
+# Set to this to use case-sensitive completion
+# CASE_SENSITIVE="true"
+
+# Comment this out to disable weekly auto-update checks
+# DISABLE_AUTO_UPDATE="true"
+
+# Uncomment following line if you want to disable colors in ls
+# DISABLE_LS_COLORS="true"
+
+# Uncomment following line if you want to disable autosetting terminal title.
+# DISABLE_AUTO_TITLE="true"
+
+plugins=(git brew bundler gem github osx pow powder rails3 ruby heroku rbenv)
+
+source $ZSH/oh-my-zsh.sh
+
+# Disable fucking autocorrect
+unsetopt correct_all
+
+update_terminal_cwd() {
+ printf '\e]7;%s\a' "file://$HOST$(pwd | sed -e 's/ /%20/g')"
+}
+
+precmd() {
+ update_terminal_cwd
+ return 0;
+}
+
+export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
+
+# Rbenv
+export PATH="$HOME/.rbenv/bin:$PATH"
+eval "$(rbenv init -)"
+
+
+if [[ -e $HOME/.zshrc.local ]]; then
+ source $HOME/.zshrc.local
+fi
Please sign in to comment.
Something went wrong with that request. Please try again.