From 8cf3c1e3f8c41f477925840466887b4d78ab6658 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 14 Sep 2012 17:03:20 +0900 Subject: [PATCH 1/4] add gnu global to gitignore --- gitignore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gitignore b/gitignore index aef3ade..bcf74c8 100644 --- a/gitignore +++ b/gitignore @@ -1,3 +1,9 @@ \#* *~ .DS_Store + +# gnu global +GPATH +GRTAGS +GSYMS +GTAGS From e5d034e2f5a896ecacfacf01476832ad8864f495 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 14 Sep 2012 17:17:35 +0900 Subject: [PATCH 2/4] unexport PS1 --- bashrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 53318a1..50cd5e9 100755 --- a/bashrc +++ b/bashrc @@ -33,7 +33,8 @@ null ls --version && alias with_coreutils=true ################################# -export PS1 # PS1 is defined later +# PS1 is defined later, unexport PS1 +export -n PS1 # PROMPT_COMMAND=prompt_function if false iswindows then From 1383ef51895d55b8f363865cbd9244b224d36e94 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Fri, 14 Sep 2012 18:16:37 +0900 Subject: [PATCH 3/4] actually PS1 is not exported before --- bashrc | 3 --- 1 file changed, 3 deletions(-) diff --git a/bashrc b/bashrc index 50cd5e9..27a08f3 100755 --- a/bashrc +++ b/bashrc @@ -33,9 +33,6 @@ null ls --version && alias with_coreutils=true ################################# -# PS1 is defined later, unexport PS1 -export -n PS1 -# PROMPT_COMMAND=prompt_function if false iswindows then export PAGER='tr -d \\r | less' From 42e62b21af901136a5d625640e1fc0254cf5e10d Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Tue, 18 Sep 2012 19:44:26 +0900 Subject: [PATCH 4/4] fix netwait --- bashrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bashrc b/bashrc index 74111f6..c12f81f 100755 --- a/bashrc +++ b/bashrc @@ -210,7 +210,7 @@ scr(){ } netwait(){ - while ! ping example.com -c 1 + while ! ping -c 1 -t 1 example.com do true done