From b29f93de3080e0dc8d29f0345d0727052f35c513 Mon Sep 17 00:00:00 2001 From: Aaron Gutierrez Date: Sat, 6 Jun 2015 21:54:58 -0700 Subject: [PATCH] meta tab to search, more git_status things --- .bashrc | 6 ++++++ .i3/config | 3 +++ 2 files changed, 9 insertions(+) diff --git a/.bashrc b/.bashrc index ce358a0..c22a397 100644 --- a/.bashrc +++ b/.bashrc @@ -17,6 +17,12 @@ export LSCOLORS=DxGxcxdxCxegedabagacad export TERM=xterm-256color #256 color support export LESSOPEN='|/usr/local/bin/lesspipe.sh %s' +# for git-prompt +export GIT_PS1_SHOWDIRTYSTATE=1 +export GIT_PS1_SHOWSTASHSTATE=1 +export GIT_PS1_SHOWUPSTREAM="auto" +export GIT_PS1_SHOWCOLORHINTS=1 + # Prompt differs if SSH'ed or not if [ -n "$SSH_CLIENT" ]; then PS1='\n╭\[\e[1;33m\]$(__git_ps1 "(%s)")\[\e[1;32m\][\w]\[\033[0m\]\n╰\[\033[1;36m\]\u@\h\[\033[1;33m\]\$ \[\033[0m\]' diff --git a/.i3/config b/.i3/config index cfe0be6..1aa3e38 100644 --- a/.i3/config +++ b/.i3/config @@ -21,6 +21,9 @@ floating_modifier $mod # start a terminal bindsym $mod+Return exec i3-sensible-terminal +# search +bindsym $mod+Tab exec tracker-needle + # open web browser bindsym $mod+g exec google-chrome