From 4bae7c32b61d581fdd077acf00a81a6249aafad2 Mon Sep 17 00:00:00 2001 From: Jan Frenzel <jan.frenzel@tu-dresden.de> Date: Wed, 1 Dec 2021 14:42:27 +0100 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- doc.zih.tu-dresden.de/docs/software/zsh.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc.zih.tu-dresden.de/docs/software/zsh.md b/doc.zih.tu-dresden.de/docs/software/zsh.md index 886e6448a..1c831ae19 100644 --- a/doc.zih.tu-dresden.de/docs/software/zsh.md +++ b/doc.zih.tu-dresden.de/docs/software/zsh.md @@ -195,7 +195,7 @@ If there are multiple jobs running, it will show you a list of them and let you function ftails { JOBID=$1 if [[ -z $JOBID ]]; then - JOBS=$(squeue --format="%i \\'%j\\' " -u $USER | grep -v JOBID) + JOBS=$(squeue --format="%i \\'%j\\' " --me | grep -v JOBID) NUMBER_OF_JOBS=$(echo "$JOBS" | wc -l) JOBID= -- GitLab