Commit 21315a38 authored by Patricio Bruna's avatar Patricio Bruna

corregido Terminal

parent 9f17401c
*.retry.*
/*.retry
*.retry
.*.swp
tmp/
......
......@@ -15,27 +15,6 @@
content: git push -u origin master
- name: ll
content: ls -l
pipes:
- name: docker-rm-c
commands:
- docker ps -a
- grep -v CONTAINER
- awk '{print $1}'
- xargs docker rm
- name: docker-rm-i
commands:
- docker rmi $(docker image ls -qf dangling=true) &> /dev/null
- docker images -a
- grep none
- awk '{print $3}'
- xargs docker rmi
- name: docker-rm-v
commands:
- docker volume ls -qf dangling=true
- awk '{print $1}'
- xargs docker rm
plugins:
- docker
......@@ -94,8 +73,6 @@
- iterm2
- java
- osxfuse
- parallels-desktop
- parallels-virtualization-sdk
- spectacle
- spotify
- sublime-text
......@@ -112,16 +89,13 @@
- name: Agrega repos para homebrew
homebrew_tap: tap="{{ item }}" state=present
with_items:
# - caskroom/cask
# - caskroom/fonts
- homebrew/binary
- homebrew/dupes
- heroku/brew
- homebrew/cask
- homebrew/cask-fonts
- homebrew/core
- railwaycat/emacsmacport
- sanemat/font
# - vapor/homebrew-tap
- name: Instala java
homebrew_cask: name=java state=present
- vapor/tap
- name: install cask packages
homebrew_cask: name="{{ item }}" state=present
......
......@@ -18,6 +18,11 @@
version: master
dest: "{{ lookup('env','HOME') }}/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting"
- name: Instala pure-prompt para oh-my-zsh
community.general.npm:
name: pure-prompt
global: yes
- name: Copia configuración de iTerm2
tags: terminal
copy:
......
# VARS
ZSH=$HOME/.oh-my-zsh
ZSH_THEME="{{ zsh.theme | default('') }}"
CASE_SENSITIVE="{{ zsh.case_sensitive | default('true') }}"
DISABLE_AUTO_UPDATE="{{ zsh.disable_auto_update | default('false') }}"
ZSH_THEME=""
CASE_SENSITIVE="True"
DISABLE_AUTO_UPDATE="false"
# Exports
export PATH=$PATH:/usr/local/git/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:$HOME/bin:$HOME/anaconda/bin
export PATH=$HOME/bin:$PATH:/usr/local/git/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:$HOME/anaconda/bin
export LC_CTYPE=es_ES.UTF-8
export LANG=es_ES.UTF-8
export GOROOT=/usr/local/go
......@@ -29,7 +29,7 @@ if which rbenv > /dev/null; then
fi
# Load oh-my-zsh configuration
plugins=({{ zsh.plugins | join(" ") }})
plugins=(docker docker-compose docker-machine git osx rake rake-fast ruby sublimee vagrant yarn zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# Set bindkeys
......@@ -44,27 +44,19 @@ autoload -U promptinit; promptinit
prompt pure
# Load syntax highlight
source {{ lookup('env','HOME') }}/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source /Users/pbruna/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
## My Alias
{% for alias in zsh.alias %}
{% if alias.description is defined %}
# {{ alias.description | default('') }}
{% endif %}
alias {{ alias.name }}="{{ alias.content }}"
alias ll="ls -l"
{% endfor %}
alias ga="git add ."
## My Pipes Functions
eval $(docker-machine env prl-dev)
alias gp="git push -u origin master"
{% for pipe in zsh.pipes %}
{% if pipe.description is defined %}
# {{ pipe.description }}
{% endif %}
function {{ pipe.name }} {
{{ pipe.commands | join(" \\\n | ") }}
}
alias ll="ls -l"
{% endfor %}
export PATH="/usr/local/opt/jpeg-turbo/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/readline/lib"
export CPPFLAGS="-I/usr/local/opt/readline/include"
PKG_CONFIG_PATH="/usr/local/opt/readline/lib/pkgconfig"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment