commit 5cea20ae6fa0291661f80ba75bd698d991527690
| author | 斟酌 鵬兄 <tgckpg@gmail.com> |
| date | 2017-04-21T08:48:07Z |
| subject | No auto add path for blog |
commit 5cea20ae6fa0291661f80ba75bd698d991527690
Author: 斟酌 鵬兄 <tgckpg@gmail.com>
Date: 2017-04-21T08:48:07Z
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