From 27d665c3be58219a6d201041e505bad6a572a4cf Mon Sep 17 00:00:00 2001 From: decentral1se Date: Fri, 10 Sep 2021 23:45:28 +0200 Subject: [PATCH] refactor: move autocomplete into scripts folder --- README.md | 8 ++++---- {autocomplete => scripts/autocomplete}/bash | 0 {autocomplete => scripts/autocomplete}/powershell | 0 {autocomplete => scripts/autocomplete}/zsh | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename {autocomplete => scripts/autocomplete}/bash (100%) rename {autocomplete => scripts/autocomplete}/powershell (100%) rename {autocomplete => scripts/autocomplete}/zsh (100%) diff --git a/README.md b/README.md index e229ff7f9..0fea41413 100644 --- a/README.md +++ b/README.md @@ -42,21 +42,21 @@ The abra binary will be in `$GOPATH/bin`. **bash** -Copy `autocomplete/bash` into `/etc/bash_completion.d/` and rename +Copy `scripts/autocomplete/bash` into `/etc/bash_completion.d/` and rename it to abra. ``` -sudo cp autocomplete/bash /etc/bash_completion.d/abra +sudo cp scripts/autocomplete/bash /etc/bash_completion.d/abra source /etc/bash_completion.d/abra ``` **(fi)zsh** -(fi)zsh doesn't have an autocompletion folder by default but you can create one, then copy `autocomplete/zsh` into it and add a couple lines to your `~/.zshrc` or `~/.fizsh/.fizshrc` +(fi)zsh doesn't have an autocompletion folder by default but you can create one, then copy `scripts/autocomplete/zsh` into it and add a couple lines to your `~/.zshrc` or `~/.fizsh/.fizshrc` ``` sudo mkdir /etc/zsh/completion.d/ -sudo cp autocomplete/zsh /etc/zsh/completion.d/abra +sudo cp scripts/autocomplete/zsh /etc/zsh/completion.d/abra echo "PROG=abra\n_CLI_ZSH_AUTOCOMPLETE_HACK=1\nsource /etc/zsh/completion.d/abra" >> ~/.zshrc ``` diff --git a/autocomplete/bash b/scripts/autocomplete/bash similarity index 100% rename from autocomplete/bash rename to scripts/autocomplete/bash diff --git a/autocomplete/powershell b/scripts/autocomplete/powershell similarity index 100% rename from autocomplete/powershell rename to scripts/autocomplete/powershell diff --git a/autocomplete/zsh b/scripts/autocomplete/zsh similarity index 100% rename from autocomplete/zsh rename to scripts/autocomplete/zsh