diff options
| author | David Morgan <djm_uk@protonmail.com> | 2025-05-12 07:45:32 +0100 |
|---|---|---|
| committer | David Morgan <djm_uk@protonmail.com> | 2025-05-12 07:45:32 +0100 |
| commit | 6de202bc6f1c37f3f78aa5df05b39154b2dcf696 (patch) | |
| tree | e55cdc44b5bb84a1cb45a2a0e96687a647e55f8e /nix-conf | |
| parent | b29444ed523d73c0a3b68bd07cbeac5d682f6eb0 (diff) | |
| download | dotfiles-6de202bc6f1c37f3f78aa5df05b39154b2dcf696.tar.gz | |
Use a shorter alias
Diffstat (limited to 'nix-conf')
| -rw-r--r-- | nix-conf/home/otm.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nix-conf/home/otm.nix b/nix-conf/home/otm.nix index ff98f74..2055780 100644 --- a/nix-conf/home/otm.nix +++ b/nix-conf/home/otm.nix @@ -145,8 +145,9 @@ in notify_success = ''( osascript -e 'display notification "The command finished" with title "Success"' && afplay /System/Library/Sounds/Ping.aiff && say done )''; notify_failure = ''( osascript -e 'display notification "The command failed" with title "Failure"' && afplay /System/Library/Sounds/Sosumi.aiff && say failed )''; notify = "notify_success || notify_failure"; + ltn = "lein test && notify"; + yb = "aws codeartifact login --tool npm --repository otm-js --domain otm --domain-owner 103567893073 --region eu-west-1 --profile aws_otm_dev_developers && yarn && yarn build && notify"; auth = "auth2aws login -r aws_otm_dev_developers,aws_otm_prd_developers && osascript -e 'tell app \"iTerm\" to activate'"; - yarn_build = "aws codeartifact login --tool npm --repository otm-js --domain otm --domain-owner 103567893073 --region eu-west-1 --profile aws_otm_dev_developers && yarn && yarn build && notify"; }; home.packages = with pkgs; [ |