This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Formatter | |
* | |
* date(Object Date, String) | |
* http://pubs.opengroup.org/onlinepubs/007908799/xsh/strftime.html | |
* + bonus: milliseconds as %SSS | |
*/ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git remote prune origin && | |
git branch -r --merged | | |
grep origin | | |
grep -v '>' | | |
grep -v master | | |
xargs -L1 | | |
awk '{split($0,a,"/"); print a[2]}' | | |
xargs git push origin --delete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"-------------------------------------------------- | |
" Bundles | |
" Setting up Vundle if not installed | |
let iCanHazVundle=1 | |
let vundle_readme=expand('~/.vim/bundle/vundle/README.md') | |
if !filereadable(vundle_readme) | |
echo 'Installing Vundle..' | |
echo '' | |
silent !mkdir -p ~/.vim/bundle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = kupriyanenko | |
email = a.kupriyanenko@gmail.com | |
[alias] | |
co = checkout | |
ci = commit | |
st = status | |
br = branch | |
hist = log --pretty=format:\"%C(yellow)%h%Creset %ad | [%Cgreen%an%Creset] %s%d\" --graph --date=short | |
type = cat-file -t |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source ~/.zsh/zsh-git-prompt/zshrc.sh | |
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh | |
PROMPT='%B%F{red}%n:%F{blue}%~%f%b$(git_super_status)%(!.#.$) ' | |
autoload -U compinit | |
compinit | |
zmodload zsh/complist | |
zstyle ':completion:*' menu yes select |