From 4ce8d171e63ed2f83c888cfaefdd2f4628c9f7ff Mon Sep 17 00:00:00 2001 From: Norman Koch <kochnorman31@gmail.com> Date: Thu, 2 Dec 2021 09:31:23 +0100 Subject: [PATCH] Fixed linter/check problems --- doc.zih.tu-dresden.de/docs/software/zsh.md | 33 ++++++++++------------ doc.zih.tu-dresden.de/wordlist.aspell | 3 ++ 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/doc.zih.tu-dresden.de/docs/software/zsh.md b/doc.zih.tu-dresden.de/docs/software/zsh.md index aed455fea..0b42a8ccd 100644 --- a/doc.zih.tu-dresden.de/docs/software/zsh.md +++ b/doc.zih.tu-dresden.de/docs/software/zsh.md @@ -1,17 +1,18 @@ # ZSH !!! warning - Though all efforts have been made to ensure the accuracy and - currency of the content on this website, please be advised that - some content might be out of date and there is no continuous - website support available. In case of any ambiguity or doubts, - users are advised to do their own research on the content's + Though all efforts have been made to ensure the accuracy and + currency of the content on this website, please be advised that + some content might be out of date and there is no continuous + website support available. In case of any ambiguity or doubts, + users are advised to do their own research on the content's accuracy and currency. -The [ZSH](https://www.zsh.org), short for `z-shell`, is an alternative shell for Linux that offers many convenience features -for productive use that `bash`, the default shell, does not offer. +The [ZSH](https://www.zsh.org), short for `z-shell`, is an alternative shell for Linux that offers +many convenience features for productive use that `bash`, the default shell, does not offer. -This should be a short introduction to `zsh` and offer some examples that are especially useful on Taurus. +This should be a short introduction to `zsh` and offer some examples that are especially useful +on the ZIH-Systems. ## `oh-my-zsh` @@ -29,8 +30,8 @@ The rest of this document assumes that you have `oh-my-zsh` installed and runnin ### Themes -There are many different themes for the `zsh`. See the [GitHub-page of `oh-my-zsh`](https://github.com/ohmyzsh/ohmyzsh) for -more details. +There are many different themes for the `zsh`. See the +[GitHub-page of `oh-my-zsh`](https://github.com/ohmyzsh/ohmyzsh) for more details. ### Auto-completion @@ -64,7 +65,6 @@ ENABLE_CORRECTION="true" you get correction suggestions when the shell thinks that it might be want you want, e.g. when a command is expected to be handed an existing file. -  ### Automatic `cd` @@ -77,17 +77,14 @@ setopt AUTO_CD  - ### `fish`-like auto-suggestions Install [`zsh-autosuggestions`](https://github.com/zsh-users/zsh-autosuggestions) to get `fish`-shell-like -auto-suggestions of previous commands that start with the same letters and that you can complete with the right -arrow key. +auto-suggestions of previous commands that start with the same letters and that you can complete with +the right arrow key.  -## - ??? example "Addons for your shell" === "`bash`" ```bash @@ -117,7 +114,7 @@ arrow key. #This allows you to run `slurmlogpath $SLURM_ID` and get the log-path directly in stdout: function slurmlogpath { - scontrol show job $1 | sed -n -e 's/^\s*StdOut=//p' + scontrol show job $1 | sed -n -e 's/^\s*StdOut=//p' } # `ftails` follow-tails a slurm-log. Call it without parameters to tail the only running job or @@ -174,7 +171,7 @@ arrow key. #This allows you to run `slurmlogpath $SLURM_ID` and get the log-path directly in stdout: function slurmlogpath { - scontrol show job $1 | sed -n -e 's/^\s*StdOut=//p' + scontrol show job $1 | sed -n -e 's/^\s*StdOut=//p' } # `ftails` follow-tails a slurm-log. Call it without parameters to tail the only running job or diff --git a/doc.zih.tu-dresden.de/wordlist.aspell b/doc.zih.tu-dresden.de/wordlist.aspell index 8bcd6a7c2..cd8d11420 100644 --- a/doc.zih.tu-dresden.de/wordlist.aspell +++ b/doc.zih.tu-dresden.de/wordlist.aspell @@ -385,3 +385,6 @@ yaml ZIH zih ZIH's +ZSH +Addon +Addons -- GitLab