1
0
mirror of https://github.com/kmein/niveum synced 2026-03-18 11:01:07 +01:00
This commit is contained in:
Kierán Meinhardt
2019-01-30 16:09:06 +01:00
parent 14557b33dd
commit 3517b9e700
4 changed files with 19 additions and 17 deletions

View File

@@ -1,18 +1,5 @@
{ pkgs, ... }:
{
environment.shellAliases =
let rlwrap = cmd: "${pkgs.rlwrap}/bin/rlwrap ${cmd}";
in {
o = "${pkgs.xdg_utils}/bin/xdg-open";
ns = "nix-shell --command zsh";
":r" = ''echo "You stupid!"'';
clipboard = "${pkgs.xclip}/bin/xclip -se c";
ip = "${pkgs.iproute}/bin/ip -c";
ocaml = rlwrap "${pkgs.ocaml}/bin/ocaml";
tmux = "${pkgs.tmux}/bin/tmux -2";
nixi = ''nix repl "<nixpkgs>"'';
};
environment.interactiveShellInit = "export PATH=$PATH:$HOME/.local/bin:$HOME/.cargo/bin";
programs.zsh = {