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
/cygdrive/h/.zshrc:limit:16: no such resource: coredumpsize | |
/cygdrive/h/.zshrc:[:66: too many arguments |
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
public function get${1:name}() { | |
return $this->${2:`substitute('$1', '^\(.\)', '\=tolower(submatch(1))', '')`}; | |
} |
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
set guifont=Consolas:h10:cDEFAULT |
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
function! ToggleXHTML() | |
if &ft != 'xhtml' | |
let s:oldFileType = &ft | |
set ft=xhtml | |
else | |
if exists('s:oldFileType') | |
let &ft=s:oldFileType | |
else | |
echo "No previous filetype" | |
endif |
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
map <A-]> :vsp <CR>:exec("tag ".expand("<cword>"))<CR> | |
let g:dbext_default_DBI_orientation = 'vertical' | |
let g:dbext_default_window_use_horiz = 0 | |
let g:dbext_default_window_width=80 | |
let g:fuf_file_exclude = '\v\~$|CVS|\.(o|exe|bak|swp)$|(^|[/\\])\.(hg|git|bzr)($|[/\\])' | |
nmap s ysw | |
nmap S ysW |
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
zmodload -i zsh/parameter | |
insert-last-command-output() { | |
LBUFFER+="$(eval $history[$((HISTCMD-1))])" | |
} | |
zle -N insert-last-command-output | |
bindkey "^X^L" insert-last-command-output |
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
if [[ -x `which lesspipe.sh` ]]; then | |
export LESS="-R -M --shift 5" | |
export LESSOPEN="|lesspipe.sh %s" | |
export LESSCOLOR=1 | |
fi |
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
gcc48540:~/Dotfiles% git pull | |
walk 0430e42888e8de6593def99d3eb3fcdeb424e631 | |
error: unable to set permission to '.git/objects/0a/e557d73c6404c7c7aa65e1cbc23531ad78ad99' | |
error: unable to write sha1 filename .git/objects/0a/e557d73c6404c7c7aa65e1cbc23531ad78ad99 | |
Getting pack list for http://github.com/gaving/dotfiles.git | |
Getting alternates list for http://github.com/gaving/dotfiles.git | |
error: Unable to find 0ae557d73c6404c7c7aa65e1cbc23531ad78ad99 under http://github.com/gaving/dotfiles.git | |
Cannot obtain needed tree 0ae557d73c6404c7c7aa65e1cbc23531ad78ad99 | |
while processing commit 0430e42888e8de6593def99d3eb3fcdeb424e631. | |
fatal: Fetch failed. |
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
tpcp() { | |
gca -m $1 && gp tayside master && tpc | |
} | |
tpc() { | |
LATEST_COMMIT=$(git log 2>/dev/null | head -n1 | awk '{print $2}') | |
REPOSITORY_URL=$(grep url 2>/dev/null .git/config) | |
REPOSITORY_NAME=${REPOSITORY_URL##*/} | |
[[ -n $LATEST_COMMIT ]] && cygstart http://tpscope/gg5052661/software/gitphp/index.php\?p\=${REPOSITORY_NAME}\&a\=commitdiff\&h\=${LATEST_COMMIT} | |
} |
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
set wildignore+=*.toc,*.aux,*.dvi,*.log |
OlderNewer