diff options
Diffstat (limited to 'pkgs/shells')
-rw-r--r-- | pkgs/shells/fish/default.nix | 3 | ||||
-rw-r--r-- | pkgs/shells/oh-my-zsh/default.nix | 6 | ||||
-rw-r--r-- | pkgs/shells/zsh/default.nix | 10 |
3 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/shells/fish/default.nix b/pkgs/shells/fish/default.nix index 5dcf61a55562..6b4a91e90142 100644 --- a/pkgs/shells/fish/default.nix +++ b/pkgs/shells/fish/default.nix @@ -59,6 +59,9 @@ stdenv.mkDerivation rec { '' + '' sed -i "s|/sbin /usr/sbin||" \ "$out/share/fish/functions/__fish_complete_subcommand_root.fish" + + # make fish pick up completions from nix profile + echo "set fish_complete_path (echo \$NIX_PROFILES | tr ' ' '\n')\"/share/fish/vendor_completions.d\" \$fish_complete_path" >> $out/share/fish/config.fish ''; meta = with stdenv.lib; { diff --git a/pkgs/shells/oh-my-zsh/default.nix b/pkgs/shells/oh-my-zsh/default.nix index a7e57b145d61..796521b52334 100644 --- a/pkgs/shells/oh-my-zsh/default.nix +++ b/pkgs/shells/oh-my-zsh/default.nix @@ -7,12 +7,12 @@ stdenv.mkDerivation rec { name = "oh-my-zsh-git-${version}"; - version = "2016-03-24"; + version = "2016-04-06"; src = fetchgit { url = "https://github.com/robbyrussell/oh-my-zsh"; - rev = "9280f2c874b1126ee9399c353d1e0184fd39b4e4"; - sha256 = "1rldqfs5vkqxp3r7nn5q1837a363gml0d5pji0zkl7ia49f7bdnk"; + rev = "d310fac7f65d31f7494532201e02ebf67c9d9555"; + sha256 = "0kx552b0jf5j8qkk1kixdr1z49ly79cvzhdh27848rj3kwb0z8vq"; }; phases = "installPhase"; diff --git a/pkgs/shells/zsh/default.nix b/pkgs/shells/zsh/default.nix index d65b7dc80a8b..fda3e77c61f4 100644 --- a/pkgs/shells/zsh/default.nix +++ b/pkgs/shells/zsh/default.nix @@ -21,13 +21,9 @@ stdenv.mkDerivation { buildInputs = [ ncurses pcre ]; - configureFlags = [ - "--enable-maildir-support" - "--enable-multibyte" - "--enable-zprofile=$out/etc/zprofile" - "--with-tcsetpgrp" - "--enable-pcre" - ]; + preConfigure = '' + configureFlags="--enable-maildir-support --enable-multibyte --enable-zprofile=$out/etc/zprofile --with-tcsetpgrp --enable-pcre" + ''; # the zsh/zpty module is not available on hydra # so skip groups Y Z |