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
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
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