meta tab to search, more git_status things

This commit is contained in:
2015-06-06 21:54:58 -07:00
parent 63bf8abd2f
commit b29f93de30
2 changed files with 9 additions and 0 deletions

View File

@@ -17,6 +17,12 @@ export LSCOLORS=DxGxcxdxCxegedabagacad
export TERM=xterm-256color #256 color support export TERM=xterm-256color #256 color support
export LESSOPEN='|/usr/local/bin/lesspipe.sh %s' 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 # Prompt differs if SSH'ed or not
if [ -n "$SSH_CLIENT" ]; then 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\]' 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\]'

View File

@@ -21,6 +21,9 @@ floating_modifier $mod
# start a terminal # start a terminal
bindsym $mod+Return exec i3-sensible-terminal bindsym $mod+Return exec i3-sensible-terminal
# search
bindsym $mod+Tab exec tracker-needle
# open web browser # open web browser
bindsym $mod+g exec google-chrome bindsym $mod+g exec google-chrome