home/bash | fix liquidprompt
This commit is contained in:
parent
6e9d555c04
commit
e8665ba1d7
2 changed files with 4 additions and 0 deletions
|
|
@ -153,6 +153,9 @@ then
|
||||||
test -f "${HOME}/.bash_aliases" && . ${HOME}/.bash_aliases
|
test -f "${HOME}/.bash_aliases" && . ${HOME}/.bash_aliases
|
||||||
test -f "${HOME}/.bash_local" && . ${HOME}/.bash_local
|
test -f "${HOME}/.bash_local" && . ${HOME}/.bash_local
|
||||||
test -f "${HOME}/.liquidprompt/liquidprompt" && . ${HOME}/.liquidprompt/liquidprompt
|
test -f "${HOME}/.liquidprompt/liquidprompt" && . ${HOME}/.liquidprompt/liquidprompt
|
||||||
|
file=$(\ls -1d /nix/store/*-$(\ls -1d /nix/store/*-liquidprompt-* | grep -v drv | awk -F- '{printf("%s-%s\n",$2,$3)}' | tail -n1) | tail -n1)
|
||||||
|
test -f ${file}/bin/liquidprompt && . ${file}/bin/liquidprompt
|
||||||
|
|
||||||
# git completion
|
# git completion
|
||||||
if [ ! -v BASH_COMPLETION_VERSINFO -a -f /usr/local/share/git-completion/git-completion.bash ]; then
|
if [ ! -v BASH_COMPLETION_VERSINFO -a -f /usr/local/share/git-completion/git-completion.bash ]; then
|
||||||
source /usr/local/share/git-completion/git-completion.bash
|
source /usr/local/share/git-completion/git-completion.bash
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@
|
||||||
LP_ENABLE_BZR=0
|
LP_ENABLE_BZR=0
|
||||||
LP_ENABLE_TIME=1
|
LP_ENABLE_TIME=1
|
||||||
LP_ENABLE_RUNTIME=1
|
LP_ENABLE_RUNTIME=1
|
||||||
|
LP_TIME_FORMAT="%_I:%M %p"
|
||||||
LP_RUNTIME_THRESHOLD=2
|
LP_RUNTIME_THRESHOLD=2
|
||||||
LP_ENABLE_VIRTUALENV=1
|
LP_ENABLE_VIRTUALENV=1
|
||||||
LP_ENABLE_SCLS=0
|
LP_ENABLE_SCLS=0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue