Migrate shell alias for TYPO3 git push to custom command

To streamline the setup, as other things are also commands instead of
aliases.
This commit is contained in:
Daniel Siepmann 2024-03-14 09:07:44 +01:00
parent 840250fc6b
commit 09a81da417
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 12 additions and 2 deletions

View file

@ -101,8 +101,6 @@ in {
# Tmux outside tmux.
ta = "tmux attach";
tc = "tmux new-session -s ";
t3Push = "git push origin HEAD:refs/for/main";
};
enableNixpkgsReleaseCheck = true;

View file

@ -10,6 +10,7 @@
(callPackage ./nextcloud-sync/from-remote.nix { })
(callPackage ./typo3-documentation-rendering { })
(callPackage ./typo3-documentation-rendering-old { })
(callPackage ./typo3-push-core { })
(callPackage ./zcat-progress { })
(callPackage ./project {
inherit ownLib;

View file

@ -0,0 +1,11 @@
{
writeShellApplication
}:
writeShellApplication {
name = "custom-typo3-push-core";
text = ''
git push origin HEAD:refs/for/main
'';
}