diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..d857e802 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2024 Kurtosis Technologies + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/shell.nix b/shell.nix index d391d9da..581312fb 100644 --- a/shell.nix +++ b/shell.nix @@ -11,11 +11,12 @@ cli_kontrol_api_shell = pkgs.callPackage ./libs/cli-kontrol-api/shell.nix {inherit pkgs;}; kardinal_shell = with pkgs; pkgs.mkShell { - buildInputs = [k3d kubectl kustomize argo-rollouts kubernetes-helm minikube istioctl tilt reflex]; + nativeBuildInputs = [bashInteractive bash-completion]; + buildInputs = [kubectl kustomize kubernetes-helm minikube istioctl tilt reflex]; shellHook = '' - source <(kubectl completion bash) - source <(kubectl-argo-rollouts completion bash) - source <(minikube completion bash) + export SHELLNAME=$(basename $shell) + source <(kubectl completion $SHELLNAME) + source <(minikube completion $SHELLNAME) printf '\u001b[31m :::::