that was just silly using rsync. unicode PS1!!!
This commit is contained in:
parent
094441961b
commit
9967b2eca1
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
TARGETS = $(patsubst %,$(HOME)/.%,$(shell ls -d * | grep -v '.d'))
|
TARGETS = $(patsubst %,$(HOME)/.%,$(shell ls -d * | grep -v '.d'))
|
||||||
|
|
||||||
$(HOME)/.%: %
|
$(HOME)/.%: %
|
||||||
rsync -avz $^ $@
|
cp -v $^ $@
|
||||||
|
|
||||||
all: $(TARGETS)
|
all: $(TARGETS)
|
||||||
mkdir -p $(HOME)/.bash_completion.d
|
mkdir -p $(HOME)/.bash_completion.d
|
||||||
|
@ -216,7 +216,7 @@ function precmd(){
|
|||||||
PS1="$PS1$(trunc_pwd)\[\033[00m\] "
|
PS1="$PS1$(trunc_pwd)\[\033[00m\] "
|
||||||
local pcla="$(which print-color-loadavg 2>/dev/null)"
|
local pcla="$(which print-color-loadavg 2>/dev/null)"
|
||||||
test -n "$pcla" && test -x $pcla && PS1="$PS1($(print-color-loadavg)) "
|
test -n "$pcla" && test -x $pcla && PS1="$PS1($(print-color-loadavg)) "
|
||||||
PS1="$PS1$(__git_ps1 "(%s)")\n\$ "
|
PS1="$PS1$(__git_ps1 "(%s)")\n⍨ "
|
||||||
|
|
||||||
if [ -n "$1" ]
|
if [ -n "$1" ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user