Skip to content

Instantly share code, notes, and snippets.

@OctavioBR
Last active August 23, 2017 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save OctavioBR/5e65687da98e7252db28a10dfd656d97 to your computer and use it in GitHub Desktop.
Save OctavioBR/5e65687da98e7252db28a10dfd656d97 to your computer and use it in GitHub Desktop.
Dev tooling & configs
[core]
excludesfile = /Users/octavio/.gitignore_global
pager = diff-so-fancy | less --tabs=4 -RFX
editor = /usr/bin/vim
[alias]
st = status -sb
branches = branch -a
remotes = remote -v
co = checkout
lg = log --color --graph
ver = describe --tags --always
[color]
ui = 1
[push]
default = current
[user]
name = Octávio Richter
email = octaviorichter@gmail.com
signingkey = 1CAA8411
[commit]
gpgsign = true
[pull]
rebase = true
[color "diff-highlight"]
oldNormal = red bold
oldHighlight = red bold 52
newNormal = green bold
newHighlight = green bold 22
[color "diff"]
meta = 227
frag = magenta bold
commit = 227 bold
old = red bold
new = green bold
whitespace = red reverse
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[format]
pretty = %Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset
# JETBRAINS IDE FILES #
.idea
######OCTOCAT######
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip
# Logs and databases #
######################
*.log
*.sql
*.sqlite
# OS generated files #
######################
.directory
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
From 7fdb5dbc14e401c2b02d239c0beadc5100d91ec5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oct=C3=A1vio=20Richter?= <octavio.richter@bravi.com.br>
Date: Wed, 3 Jun 2015 08:20:57 -0300
Subject: [PATCH] customize agnoster theme
---
themes/agnoster.zsh-theme | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme
index 3a0c58b..a19a1b8 100644
--- a/themes/agnoster.zsh-theme
+++ b/themes/agnoster.zsh-theme
@@ -67,7 +67,8 @@ prompt_end() {
# Context: user@hostname (who am I and where am I)
prompt_context() {
if [[ "$USER" != "$DEFAULT_USER" || -n "$SSH_CLIENT" ]]; then
- prompt_segment black default "%(!.%{%F{yellow}%}.)$USER@%m"
+ # prompt_segment black default "%(!.%{%F{yellow}%}.)$USER@%m" |MODIFIED|
+ prompt_segment black default "%%"
fi
}
@@ -145,7 +146,8 @@ prompt_hg() {
# Dir: current working directory
prompt_dir() {
- prompt_segment blue black '%~'
+ # prompt_segment blue black '%~' |MODIFIED|
+ prompt_segment blue black $(basename $(pwd))
}
# Virtualenv: current working virtualenv
--
1.9.1
[global_config]
handle_size = 0
enabled_plugins = ,
title_inactive_fg_color = "#aabbc3"
suppress_multiple_term_dialog = True
geometry_hinting = False
title_transmit_bg_color = "#009688"
title_inactive_bg_color = "#263238"
[keybindings]
reset = <Primary><Shift>m
switch_to_tab_10 = <Alt>0
new_tab = <Primary>t
close_term = <Primary>w
switch_to_tab_2 = <Alt>2
switch_to_tab_3 = <Alt>3
switch_to_tab_1 = <Alt>1
reset_clear = <Primary><Shift>l
paste = <Primary>v
[profiles]
[[default]]
palette = "#3e464a:#dc322f:#8bc34a:#ffc107:#03a9f4:#d33682:#2aa198:#eee8d5:#00c1f2:#cb4b16:#607d8b:#839496:#009de4:#6c71c4:#93a1a1:#fdf6e3"
background_image = None
background_darkness = 0.9
background_type = transparent
use_system_font = False
cursor_color = "#009688"
foreground_color = "#e7e7e7"
font = Ubuntu Mono derivative Powerline 12
background_color = "#252525"
[layouts]
[[default]]
[[[child0]]]
position = 1838:24
type = Window
order = 0
parent = ""
size = 722, 1028
[[[terminal1]]]
profile = default
type = Terminal
order = 0
parent = child0
[[real_default]]
[[[child1]]]
type = Terminal
parent = window0
[[[window0]]]
type = Window
parent = ""
[plugins]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment