meta tab to search, more git_status things
This commit is contained in:
6
.bashrc
6
.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\]'
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user