From 054506a85f5b347813d21de779947a305a176277 Mon Sep 17 00:00:00 2001 From: Milo Davis Date: Thu, 14 Dec 2017 11:33:38 +0100 Subject: [PATCH] Init-client: fix bash-completion error --- {scripts => bin_client}/bash-completion.sh | 0 bin_client/tezos-init-sandboxed-client.sh | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {scripts => bin_client}/bash-completion.sh (100%) mode change 100644 => 100755 diff --git a/scripts/bash-completion.sh b/bin_client/bash-completion.sh old mode 100644 new mode 100755 similarity index 100% rename from scripts/bash-completion.sh rename to bin_client/bash-completion.sh diff --git a/bin_client/tezos-init-sandboxed-client.sh b/bin_client/tezos-init-sandboxed-client.sh index 18b5cdd86..f1b338e6d 100755 --- a/bin_client/tezos-init-sandboxed-client.sh +++ b/bin_client/tezos-init-sandboxed-client.sh @@ -241,7 +241,7 @@ if type tezos-client-reset >/dev/null 2>&1 ; then tezos-client-reset; fi ; alias tezos-client="$client" ; alias tezos-activate-alpha="$client -block genesis activate protocol ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK with fitness 1 and passes 1 and key dictator" ; alias tezos-client-reset="rm -rf \"$client_dir\"; unalias tezos-client tezos-activate-alpha tezos-client-reset" ; -alias tezos-autocomplete="source \"$script_dir/bash-completion.sh\"" ; +alias tezos-autocomplete="source \"$bin_dir/bash-completion.sh\"" ; trap tezos-client-reset EXIT ; EOF