1. José Antonio Pérez Sánchez
  2. castle-zundr-dotfiles

Commits

José Antonio Pérez Sánchez  committed e6f76f9 Merge

changes

  • Participants
  • Parent commits e911d27, 1654938
  • Branches master

Comments (0)

Files changed (4)

File home/.hgrc

View file
  • Ignore whitespace
 username = José Antonio Pérez Sánchez <japerez@tuenti.com>
 editor = /home/japerez/bin/vim "+silent call z#hg#diffOnCommit()"
 merge = vimdiff
-style = ~/.hgstyle.nlog
+style = ~/.hgstyle.slog
 
 [defaults]
 pull =
 merge = -v
 
 [alias]
-slog = log --style ~/.hgstyle.slog  --pager yes
-dlog = log --style ~/.hgstyle.dlog  --pager yes
-nlog = log --style ~/.hgstyle.nlog  --pager yes
-sglog = log --style ~/.hgstyle.sglog  --pager yes
-sync = !hg push -r. mvno-push || (hg pull --rebase mvno && hg push -r. mvno-push)
+slog = log --style ~/.hgstyle.slog --pager yes
+dlog = log --style ~/.hgstyle.dlog --pager yes
+nlog = log --style ~/.hgstyle.nlog --pager yes
+sglog = log --style ~/.hgstyle.sglog --pager yes
+sync = !hg push -r. || (hg pull -b. --rebase && hg push -r. )
 
 [extensions]
 pager =

File home/.htoprc

  • Ignore whitespace
-# Beware! This file is rewritten every time htop exits.
-# The parser is also very primitive, and not human-friendly.
-# (I know, it's in the todo list).
-fields=0 48 17 18 38 39 40 2 46 47 49 1 
-sort_key=47
-sort_direction=1
-hide_threads=0
-hide_kernel_threads=1
-hide_userland_threads=1
-shadow_other_users=0
-highlight_base_name=1
-highlight_megabytes=1
-highlight_threads=0
-tree_view=0
-header_margin=1
-detailed_cpu_time=1
-color_scheme=0
-delay=15
-left_meters=AllCPUs Memory Swap 
-left_meter_modes=1 1 1 
-right_meters=Tasks LoadAverage Uptime 
-right_meter_modes=2 2 2 

File home/.zsh/plugins/tuenti/tuenti.plugin.zsh

View file
  • Ignore whitespace
+#!zsh
+#
+function _get_spawnables() {
+  for file in $(find main/core/domain/job/spawnable -type f -name "*.php"); do
+    echo ${file:31:-4}
+  done
+}
+
+function _spwn() {
+  compadd -X $(_get_spawnables)
+}
+
+compdef _spwn spwn

File home/.zshrc

View file
  • Ignore whitespace
 # 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)
-plugins=(git mercurial perl python battery ant ssh-agent )
+plugins=(git mercurial perl python battery ant ssh-agent vi-mode history-substring-search)
 case $(uname) in
   Darwin)
     plugins=($plugins osx brew iterm2 )