Skip to content

Commit

Permalink
put sail alias in the shell hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Meow committed Sep 10, 2024
1 parent 78f3b5a commit d0456cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
pkgs.php83
pkgs.php83Packages.composer
];

shellHook = ''
alias sail='sh $([ -f sail ] && echo sail || echo vendor/bin/sail)'
'';
};
}
);
Expand Down

0 comments on commit d0456cd

Please sign in to comment.