From 36f74c1ba47528d3c36871fc1f758097fd2ca95b Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Fri, 23 Oct 2020 11:46:50 +0800 Subject: [PATCH] [bugfix] condition of fish is default shell never match --- apps/docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docker.sh b/apps/docker.sh index 20a9eb1..2049d80 100755 --- a/apps/docker.sh +++ b/apps/docker.sh @@ -28,7 +28,7 @@ sudo usermod -aG docker $USER # completion case "$DEFAULT_SHELL" in - fish) + $FISH) curl -sLo $HOME/.config/fish/completions/docker.fish --create-dirs \ 'https://github.com/docker/cli/raw/master/contrib/completion/fish/docker.fish' ;;