Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TheSpark
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patricio Bruna
TheSpark
Commits
21315a38
Commit
21315a38
authored
Feb 17, 2021
by
Patricio Bruna
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corregido Terminal
parent
9f17401c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
54 deletions
+25
-54
.gitignore
.gitignore
+1
-1
localhost.yml
localhost.yml
+5
-31
main.yml
roles/terminal/tasks/main.yml
+5
-0
zshrc
roles/terminal/templates/zshrc
+14
-22
No files found.
.gitignore
View file @
21315a38
*.retry.*
/*.retry
*.retry
.*.swp
tmp/
...
...
localhost.yml
View file @
21315a38
...
...
@@ -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
...
...
roles/terminal/tasks/main.yml
View file @
21315a38
...
...
@@ -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
:
...
...
roles/terminal/templates/zshrc
View file @
21315a38
# 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"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment