1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-06 08:47:00 +00:00
Commit graph

26 commits

Author SHA1 Message Date
Michael Hoang
4b90ea84e4 doc: store a copy of known files 2023-07-11 18:59:05 +10:00
Cuichen Li
8364529fc4 fix zsh eating output without new line ending 2023-07-10 15:00:02 +08:00
Emily
e65131e69c treewide: convert all option docs to Markdown
This process was automated by [my fork of `nix-doc-munge`]; thanks
to @pennae for writing this tool! It automatically checks that the
resulting documentation doesn't change, although my fork loosens
this a little to ignore some irrelevant whitespace and typographical
differences.

As of this commit there is no DocBook remaining in the options
documentation.

You can play along at home if you want to reproduce this commit:

    $ NIX_PATH=nixpkgs=flake:nixpkgs/c1bca7fe84c646cfd4ebf3482c0e6317a0b13f22 \
      nix shell nixpkgs#coreutils \
      -c find . -name '*.nix' \
      -exec nix run github:emilazy/nix-doc-munge/0a7190f600027bf7baf6cb7139e4d69ac2f51062 \
      {} +

[my fork of `nix-doc-munge`]: https://github.com/emilazy/nix-doc-munge
2023-06-24 10:48:55 +01:00
Daiderd Jordan
079db5db5b
don't set SHELL automatically based on programs.<shell>.enable 2020-10-25 16:37:02 +01:00
Daiderd Jordan
20b9f53035
etc: add known hashes for bashrc/zsh/nix.conf 2020-06-17 19:37:07 +02:00
Kirill Elagin
644d6acb7a
zsh: Add vendor-completions to fpath 2019-01-04 15:50:48 +03:00
Andrew Childs
676ef10377 Unify environment configuration and don't run in child shells
This should enable `nix run` to work under shells like fish and zsh,
as well as making child shells not needlessly reset any environment
that should be inherited.

Implementation adapted from NixOS.
2018-10-25 01:00:52 +09:00
Daiderd Jordan
072d2e75ab
zsh: fix nix run shells of nix 2.0 2018-03-27 00:32:31 +02:00
Daiderd Jordan
abd9a7c2fe
zsh: remove shell wrapper 2018-01-20 01:32:33 +01:00
Daiderd Jordan
4d4acf6550
zsh: don't clobber promptInit in a nix-shell
Configure this yourself if you want a different prompt
when a nix-shell is active.
2018-01-17 01:54:02 +01:00
Daiderd Jordan
e8355cdd93
system-build: change type of setEnvironment and setAliases
On NixOS system.build.setEnvironment also is a writeText
2017-10-07 12:41:33 +02:00
Daiderd Jordan
a8b4770275
environment: include extraInit in set-environment script 2017-10-07 12:27:43 +02:00
Daiderd Jordan
94fddd38af
zsh: move environment variables to zshenv 2017-10-07 11:19:11 +02:00
Daiderd Jordan
61cd181a0f
zsh: use container names for fzf docker completion 2017-07-18 22:34:09 +02:00
Daiderd Jordan
88a11d28f1
bash: enable by default 2017-07-09 10:16:57 +02:00
Daiderd Jordan
71f25cba9d
zsh: support nix-shell --run zsh 2017-07-09 10:14:49 +02:00
Daiderd Jordan
e01e48de3b
zsh: improve fzf docker completion 2017-06-21 23:48:32 +02:00
Daiderd Jordan
f5efd16be6
zsh: add fzf completion for docker containers 2017-06-17 21:46:49 +02:00
Daiderd Jordan
983c465a72
zsh: use custom fzf completion 2017-06-13 01:00:57 +02:00
Daiderd Jordan
1b6f56f5b8
environment: include /usr/sbin and /sbin in systemPath
Don't extend initial PATH adding extra entries should be done through
appending environment.systemPath or manually extending it with
environment.extraInit or similar options.
2017-05-15 19:46:34 +02:00
Daiderd Jordan
6b1e73adb1
zsh: use explicit source instead of . 2017-05-13 15:24:13 +02:00
Daiderd Jordan
2343363b5b
zsh: link /share/zsh when enabled 2017-05-13 14:45:45 +02:00
Brandon Kase
d0e9c0762a Added zsh-syntax-highlighting option to zsh program 2017-03-05 13:21:13 -08:00
Daiderd Jordan
18c06d53bd
zsh: add options for fzf completion and git 2017-02-21 22:52:08 +01:00
Daiderd Jordan
c4e573258d
fzf-history: don't enable by default and reverse 2017-02-21 21:32:26 +01:00
Daiderd Jordan
8cdebe9fa9
add fzf history keybindings for zsh 2017-01-30 23:04:29 +01:00