Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commited7935d

Browse files
committed
Use double-brackets
1 parentd0a8004 commited7935d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎liquidprompt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ _lp_shorten_vcs_path ()
682682
esac
683683

684684
# trim leading and trailing whitespace, as well as a potentially trailing slash
685-
if [-n"$root" ];then
685+
if [[-n"$root"]];then
686686
local name="${root##*/}"
687687
local relpath="${${PWD#$root}%/}"
688688
LP_PWD="${LP_COLOR_PATH_ROOT}$(_lp_escape"$name")$NO_COL"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp