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_local" && . ${HOME}/.bash_local
|
||||
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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue