Unverified Commit 22dbef92 authored by Jakub Kozłowski's avatar Jakub Kozłowski Committed by GitHub
Browse files

Merge pull request #188101 from kubukoz/scala-cli-completions-fix

parents 24f160cf c68dc2bf
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -53,7 +53,9 @@ stdenv.mkDerivation {
  '' + ''
    # hack to ensure the completion function looks right
    # as $0 is used to generate the compdef directive
    PATH="$out/bin:$PATH"
    mkdir temp
    cp $out/bin/.scala-cli-wrapped temp/scala-cli
    PATH="./temp:$PATH"

    installShellCompletion --cmd scala-cli \
      --bash <(scala-cli completions bash) \