From e9e039a2679f487a861169caab147c5240c61b3d Mon Sep 17 00:00:00 2001 From: mashehu Date: Tue, 13 Dec 2022 15:55:08 +0100 Subject: [PATCH 1/4] =?UTF-8?q?add=20newline=20before=20table=20?= =?UTF-8?q?=F0=9F=A4=9E=F0=9F=8F=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 0ea83c3cca..8874837bc8 100644 --- a/README.md +++ b/README.md @@ -217,11 +217,12 @@ Please refer to the respective documentation for further details to manage packa ### Activate shell completions for nf-core/tools Auto-completion for the `nf-core` command is available for bash, zsh and fish. To activate it, add the following lines to the respective shell config files. -shell | shell config file | command ---- | --- | --- -bash | ~/.bashrc | `eval "$(_NF_CORE_COMPLETE=bash_source nf-core)"` -Zsh | ~/.zshrc | `eval "$(_NF_CORE_COMPLETE=zsh_source nf-core)"` -fish | ~/.config/fish/completions/nf-core.fish | `eval (env _NF_CORE_COMPLETE=fish_source nf-core)` + +| shell | shell config file | command | +| ----- | --------------------------------------- | -------------------------------------------------- | +| bash | ~/.bashrc | `eval "$(_NF_CORE_COMPLETE=bash_source nf-core)"` | +| Zsh | ~/.zshrc | `eval "$(_NF_CORE_COMPLETE=zsh_source nf-core)"` | +| fish | ~/.config/fish/completions/nf-core.fish | `eval (env _NF_CORE_COMPLETE=fish_source nf-core)` | After a restart of the shell session you should have auto-completion for the `nf-core` command and all its sub-commands and options. From e3d987e2afaf76a0edc89c9a0ffb7e8fa970a220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20H=C3=B6rtenhuber?= Date: Tue, 13 Dec 2022 16:04:08 +0100 Subject: [PATCH 2/4] Update README.md Co-authored-by: Phil Ewels --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8874837bc8..35a06028c9 100644 --- a/README.md +++ b/README.md @@ -220,9 +220,9 @@ Auto-completion for the `nf-core` command is available for bash, zsh and fish. T | shell | shell config file | command | | ----- | --------------------------------------- | -------------------------------------------------- | -| bash | ~/.bashrc | `eval "$(_NF_CORE_COMPLETE=bash_source nf-core)"` | -| Zsh | ~/.zshrc | `eval "$(_NF_CORE_COMPLETE=zsh_source nf-core)"` | -| fish | ~/.config/fish/completions/nf-core.fish | `eval (env _NF_CORE_COMPLETE=fish_source nf-core)` | +| bash | `~/.bashrc` | `eval "$(_NF_CORE_COMPLETE=bash_source nf-core)"` | +| Zsh | `~/.zshrc` | `eval "$(_NF_CORE_COMPLETE=zsh_source nf-core)"` | +| fish | `~/.config/fish/completions/nf-core.fish` | `eval (env _NF_CORE_COMPLETE=fish_source nf-core)` | After a restart of the shell session you should have auto-completion for the `nf-core` command and all its sub-commands and options. From 5338afbb3a6e27f01a4a344eb3c566691a89ae73 Mon Sep 17 00:00:00 2001 From: nf-core-bot Date: Tue, 13 Dec 2022 15:10:23 +0000 Subject: [PATCH 3/4] [automated] Fix code linting --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 35a06028c9..480b966f92 100644 --- a/README.md +++ b/README.md @@ -218,8 +218,8 @@ Please refer to the respective documentation for further details to manage packa Auto-completion for the `nf-core` command is available for bash, zsh and fish. To activate it, add the following lines to the respective shell config files. -| shell | shell config file | command | -| ----- | --------------------------------------- | -------------------------------------------------- | +| shell | shell config file | command | +| ----- | ----------------------------------------- | -------------------------------------------------- | | bash | `~/.bashrc` | `eval "$(_NF_CORE_COMPLETE=bash_source nf-core)"` | | Zsh | `~/.zshrc` | `eval "$(_NF_CORE_COMPLETE=zsh_source nf-core)"` | | fish | `~/.config/fish/completions/nf-core.fish` | `eval (env _NF_CORE_COMPLETE=fish_source nf-core)` | From 6e7f87aae535110a0c29beadbca007418b9cd9c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20H=C3=B6rtenhuber?= Date: Tue, 13 Dec 2022 16:46:31 +0100 Subject: [PATCH 4/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 480b966f92..73d868bb32 100644 --- a/README.md +++ b/README.md @@ -221,7 +221,7 @@ Auto-completion for the `nf-core` command is available for bash, zsh and fish. T | shell | shell config file | command | | ----- | ----------------------------------------- | -------------------------------------------------- | | bash | `~/.bashrc` | `eval "$(_NF_CORE_COMPLETE=bash_source nf-core)"` | -| Zsh | `~/.zshrc` | `eval "$(_NF_CORE_COMPLETE=zsh_source nf-core)"` | +| zsh | `~/.zshrc` | `eval "$(_NF_CORE_COMPLETE=zsh_source nf-core)"` | | fish | `~/.config/fish/completions/nf-core.fish` | `eval (env _NF_CORE_COMPLETE=fish_source nf-core)` | After a restart of the shell session you should have auto-completion for the `nf-core` command and all its sub-commands and options.