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:
parent
840250fc6b
commit
09a81da417
|
@ -101,8 +101,6 @@ in {
|
||||||
# Tmux outside tmux.
|
# Tmux outside tmux.
|
||||||
ta = "tmux attach";
|
ta = "tmux attach";
|
||||||
tc = "tmux new-session -s ";
|
tc = "tmux new-session -s ";
|
||||||
|
|
||||||
t3Push = "git push origin HEAD:refs/for/main";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
enableNixpkgsReleaseCheck = true;
|
enableNixpkgsReleaseCheck = true;
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
(callPackage ./nextcloud-sync/from-remote.nix { })
|
(callPackage ./nextcloud-sync/from-remote.nix { })
|
||||||
(callPackage ./typo3-documentation-rendering { })
|
(callPackage ./typo3-documentation-rendering { })
|
||||||
(callPackage ./typo3-documentation-rendering-old { })
|
(callPackage ./typo3-documentation-rendering-old { })
|
||||||
|
(callPackage ./typo3-push-core { })
|
||||||
(callPackage ./zcat-progress { })
|
(callPackage ./zcat-progress { })
|
||||||
(callPackage ./project {
|
(callPackage ./project {
|
||||||
inherit ownLib;
|
inherit ownLib;
|
||||||
|
|
11
home/packages/custom/typo3-push-core/default.nix
Normal file
11
home/packages/custom/typo3-push-core/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
writeShellApplication
|
||||||
|
}:
|
||||||
|
|
||||||
|
writeShellApplication {
|
||||||
|
name = "custom-typo3-push-core";
|
||||||
|
|
||||||
|
text = ''
|
||||||
|
git push origin HEAD:refs/for/main
|
||||||
|
'';
|
||||||
|
}
|
Loading…
Reference in a new issue