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

corregido Terminal

parent 9f17401c
*.retry.* /*.retry
*.retry *.retry
.*.swp .*.swp
tmp/ tmp/
......
...@@ -15,27 +15,6 @@ ...@@ -15,27 +15,6 @@
content: git push -u origin master content: git push -u origin master
- name: ll - name: ll
content: ls -l 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: plugins:
- docker - docker
...@@ -94,8 +73,6 @@ ...@@ -94,8 +73,6 @@
- iterm2 - iterm2
- java - java
- osxfuse - osxfuse
- parallels-desktop
- parallels-virtualization-sdk
- spectacle - spectacle
- spotify - spotify
- sublime-text - sublime-text
...@@ -112,16 +89,13 @@ ...@@ -112,16 +89,13 @@
- name: Agrega repos para homebrew - name: Agrega repos para homebrew
homebrew_tap: tap="{{ item }}" state=present homebrew_tap: tap="{{ item }}" state=present
with_items: with_items:
# - caskroom/cask - heroku/brew
# - caskroom/fonts - homebrew/cask
- homebrew/binary - homebrew/cask-fonts
- homebrew/dupes - homebrew/core
- railwaycat/emacsmacport - railwaycat/emacsmacport
- sanemat/font - sanemat/font
# - vapor/homebrew-tap - vapor/tap
- name: Instala java
homebrew_cask: name=java state=present
- name: install cask packages - name: install cask packages
homebrew_cask: name="{{ item }}" state=present homebrew_cask: name="{{ item }}" state=present
......
...@@ -18,6 +18,11 @@ ...@@ -18,6 +18,11 @@
version: master version: master
dest: "{{ lookup('env','HOME') }}/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting" 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 - name: Copia configuración de iTerm2
tags: terminal tags: terminal
copy: copy:
......
# VARS # VARS
ZSH=$HOME/.oh-my-zsh ZSH=$HOME/.oh-my-zsh
ZSH_THEME="{{ zsh.theme | default('') }}" ZSH_THEME=""
CASE_SENSITIVE="{{ zsh.case_sensitive | default('true') }}" CASE_SENSITIVE="True"
DISABLE_AUTO_UPDATE="{{ zsh.disable_auto_update | default('false') }}" DISABLE_AUTO_UPDATE="false"
# Exports # 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 LC_CTYPE=es_ES.UTF-8
export LANG=es_ES.UTF-8 export LANG=es_ES.UTF-8
export GOROOT=/usr/local/go export GOROOT=/usr/local/go
...@@ -29,7 +29,7 @@ if which rbenv > /dev/null; then ...@@ -29,7 +29,7 @@ if which rbenv > /dev/null; then
fi fi
# Load oh-my-zsh configuration # 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 source $ZSH/oh-my-zsh.sh
# Set bindkeys # Set bindkeys
...@@ -44,27 +44,19 @@ autoload -U promptinit; promptinit ...@@ -44,27 +44,19 @@ autoload -U promptinit; promptinit
prompt pure prompt pure
# Load syntax highlight # 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 ## My Alias
{% for alias in zsh.alias %} alias ll="ls -l"
{% if alias.description is defined %}
# {{ alias.description | default('') }}
{% endif %}
alias {{ alias.name }}="{{ alias.content }}"
{% endfor %} alias ga="git add ."
## My Pipes Functions alias gp="git push -u origin master"
eval $(docker-machine env prl-dev)
{% for pipe in zsh.pipes %} alias ll="ls -l"
{% if pipe.description is defined %}
# {{ pipe.description }}
{% endif %}
function {{ pipe.name }} {
{{ pipe.commands | join(" \\\n | ") }}
}
{% 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