Remove shh

Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
Magic_RB 2021-07-31 13:20:14 +02:00
parent 9c4af92771
commit 167dfbac3e
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
6 changed files with 0 additions and 46 deletions

View file

@ -4,7 +4,6 @@
./alacritty ./alacritty
./bash ./bash
./ssh ./ssh
./shh
./emacs ./emacs
# ./pulseaudio # ./pulseaudio
./xmonad ./xmonad

View file

@ -1,7 +0,0 @@
{-# LANGUAGE TemplateHaskell #-}
module Shell where
import Shh
$(loadEnv SearchPath)
e :: Cmd
e = emacsclient

View file

@ -1,19 +0,0 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.magic_rb.programs.shh;
in
{
options.magic_rb.programs.shh = {
enable = mkEnableOption "Enable shh, the Haskell shell.";
};
config = mkIf cfg.enable {
home.file.".shh/Shell.hs".source = ./Shell.hs;
home.file.".shh/init.ghci".source = ./init.ghci;
home.packages = [
pkgs.magic_rb.shh
];
};
}

View file

@ -1,5 +0,0 @@
:seti -XNoOverloadedLists
import Shh
import Shh.Prompt
:set prompt-function formatPrompt "%u@\ESC[37m%h\ESC[m:\ESC[32m%w\ESC[31m$\ESC[m "
:set prompt-cont "| "

View file

@ -1,13 +0,0 @@
final: prev:
let
ghc = prev.haskellPackages.ghcWithPackages (p: with p; [shh shh-extras word8]);
in
{
magic_rb = prev.magic_rb or {} // {
shh = prev.writeShellScriptBin "shh" ''
export PATH=${ghc}/bin:${prev.haskellPackages.shh}/bin:$PATH
exec shh $@
'';
};
}

View file

@ -27,7 +27,6 @@ inputs: {
enable = true; enable = true;
enableDirenv = true; enableDirenv = true;
}; };
shh.enable = true;
ssh.enable = true; ssh.enable = true;
emacs.enable = true; emacs.enable = true;
xmonad.enable = true; xmonad.enable = true;