Signed-off-by: Hu XueJiao 1034502035@qq.com --- lib/env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/env.sh b/lib/env.sh index 78cfd6f5..8ac42a83 100755 --- a/lib/env.sh +++ b/lib/env.sh @@ -122,6 +122,6 @@ is_system() shell_profile() { local profile="$HOME/.${SHELL##*/}rc" - [ -f "$profile" ] || profile="$HOME/.${SHELL##*/}_profile" + [ -f "$profile" ] || touch $profile echo $profile }