Bash and tmux updates
This commit is contained in:
parent
acc32f7bfd
commit
480f7c5925
@ -4,6 +4,9 @@
|
||||
if [ -f /etc/bash_completion.d/git-prompt ]; then
|
||||
source /etc/bash_completion.d/git-prompt
|
||||
fi
|
||||
if [ -f ~/git-prompt.sh ]; then
|
||||
source ~/git-prompt.sh
|
||||
fi
|
||||
export GIT_PS1_SHOWDIRTYSTATE=1
|
||||
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;92m\]$(hostname)\[\033[01;34m\] \w\[\033[01;35m\]$(__git_ps1 " %s") \[\033[0m\]$ '
|
||||
|
||||
|
@ -45,6 +45,9 @@
|
||||
|
||||
# Footer {{{
|
||||
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
|
||||
run '~/.tmux/plugins/tpm/tpm'
|
||||
if "test ! -d ~/.tmux/plugins/tpm" \
|
||||
"run 'git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm && ~/.tmux/plugins/tpm/tpm && ~/.tmux/plugins/tpm/bin/install_plugins'"
|
||||
if "test -d ~/.tmux/plugins/tpm" \
|
||||
"run -b '~/.tmux/plugins/tpm/tpm'"
|
||||
# }}}
|
||||
# vim: foldenable foldmethod=marker
|
||||
|
Loading…
Reference in New Issue
Block a user