As configured in my dotfiles.
start new:
tmux
start new with session name:
| security.pki.certificateFiles = [ | |
| (pkgs.fetchurl { | |
| url = "https://www.cacert.org/certs/class3.crt"; | |
| sha256 = "0kzq3gvili5mpjkz7p3mf46d14175id4b4ll188mph0wvajxmfpm"; | |
| }) | |
| ]; | |
| package application | |
| import cats.data.Reader | |
| import cats.data.Kleisli._ | |
| import monocle.macros.Lenses | |
| object Application { | |
| /** | |
| * A general configuration for the system |
| (ns proc | |
| (:import [java.lang ProcessBuilder]) | |
| (:use [clojure.java.io :only [reader writer]])) | |
| (defn spawn [& args] | |
| (let [process (-> (ProcessBuilder. args) | |
| (.start))] | |
| {:out (-> process | |
| (.getInputStream) | |
| (reader)) |
As configured in my dotfiles.
start new:
tmux
start new with session name: