Initial commit

This commit is contained in:
Mats Rauhala
2021-11-16 16:17:57 +02:00
commit 6969c15cdc
8 changed files with 704 additions and 0 deletions

9
zsh/gwp/gwp.plugin.zsh Normal file
View File

@ -0,0 +1,9 @@
function gwp() {
pkgs="$@"
nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz -p "ghcid" -p "haskellPackages.ghcWithHoogle (pkgs: with pkgs; [$pkgs])" --run 'zsh'
}
function gwi() {
pkgs="$@"
nix-shell -I nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz -p "haskellPackages.ghcWithPackages (pkgs: with pkgs; [$pkgs])" --run 'ghci'
}