Skip to content

Commit 44453d8

Browse files
committed
[adj] config/.customfunction, adjust the info. print it in the terminal.
1 parent a4d67d5 commit 44453d8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config/.customfunction

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ pipenv_correspond(){
3030
declare -i num_venvs=0
3131
if $show_proj_root; then
3232
for f in $(find ~/.local/share/virtualenvs/*/.project -type f); do
33-
proj_root="$(cat $f)" && [ $CORRESPOND -d $proj_root ] && echo "\nproj: $proj_root\nvenv: ${f//\/.project}\n" && venvs_root_arr+=(${f//\/.project}) && num_venvs+=1
33+
proj_root="$(cat $f)" && [ $CORRESPOND -d $proj_root ] && echo "proj: $proj_root\nvenv: ${f//\/.project}\n" && venvs_root_arr+=(${f//\/.project}) && num_venvs+=1
3434
done
3535
else
3636
for f in $(find ~/.local/share/virtualenvs/*/.project -type f); do
@@ -74,9 +74,9 @@ pipenv_correspond(){
7474

7575
if ! $isLS || ( $isRM && $isDefault ); then
7676
CORRESPOND="!"
77-
echo "Useless venvs:"
77+
echo "Useless venvs:\n"
7878
else
79-
echo "Still corresponding venvs:"
79+
echo "Still corresponding venvs:\n"
8080
fi
8181

8282
Show_root venvs_root_arr

0 commit comments

Comments
 (0)