From 5cea20ae6fa0291661f80ba75bd698d991527690 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=96=9F=E9=85=8C=20=E9=B5=AC=E5=85=84?= Date: Fri, 21 Apr 2017 16:48:07 +0800 Subject: [PATCH] No auto add path for blog --- bash/bashrc/sources/50_blog | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/bash/bashrc/sources/50_blog b/bash/bashrc/sources/50_blog index 54914e0..c3d8e75 100755 --- a/bash/bashrc/sources/50_blog +++ b/bash/bashrc/sources/50_blog @@ -1,13 +1,7 @@ #!/bin/bash -if [[ ! -d ~/wconv/native/bin ]]; then - return 1 -fi - -export PATH=$PATH:~/wconv/native/bin/ - function blog () { - if [[ -z 'command -v cj' ]]; then + if [[ -z `command -v cj` ]]; then echo "Cannot find cj" return 1 fi