1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00
Commit graph

85 commits

Author SHA1 Message Date
Ryan Burns
771f01c4e6 fish: fix fenv function path 2021-02-04 17:52:27 -08:00
Kevin Griffin
aa5611cc81
fish: fix fenv reference on 20.09
Referring to the deprecated package first causes
an error to be thrown before the correct package can be selected.
2021-01-30 11:27:01 +09:00
Kevin Griffin
867ef96e0b
fish: add babelfish translation option
Configuration may be ran through fenv at shell start time
(as previously) or translated to fish at build time with
a specified babelfish package.
2021-01-17 10:30:27 +09:00
Dave Nicponski
0884b87b5c
Fix typo in nix-index docstring 2020-11-30 20:29:34 -05:00
Daiderd Jordan
079db5db5b
don't set SHELL automatically based on programs.<shell>.enable 2020-10-25 16:37:02 +01:00
Mario Rodas
a34dea283c Remove deprecated types.loaOf
types.loaOf has been deprecated for a long time and is now in the
process of removal. See: https://github.com/NixOS/nixpkgs/pull/96042
2020-09-02 04:20:00 +00:00
Daiderd Jordan
20b9f53035
etc: add known hashes for bashrc/zsh/nix.conf 2020-06-17 19:37:07 +02:00
Jason Felice
ff77fcadc2 Rename programs.tmux.tmuxConfig -> extraConfig 2020-03-29 13:58:58 -04:00
Väinö Järvelä
e1000fc1a6
bash: Let bash load completions lazily
As described in detail here: https://github.com/NixOS/nixpkgs/issues/32533
bash will load completion scripts in $p/share/bash-completion/completions/ on
startup instead of letting bash-completion do it's lazy loading. Bash startup
will then slow down (very noticeable when bash-completion is installed in a
profile).

This commit leaves loading of scripts in the hands of bash-completion,
improving startup time for everyone using `enableCompletion`.

Fixes #101
2020-01-21 12:18:28 +01:00
zhujun
2ef552b4d0 tmux: clear __NIX_DARWIN_SET_ENVIRONMENT_DONE
This is necessary to allow shell sessions inside tmux having a chance to
set environment properly
2019-11-01 13:37:18 +08:00
Daiderd Jordan
ae58eb80d2
nix-script: remove 2019-06-05 21:45:47 +02:00
Daiderd Jordan
58a2956870
tmux: add defaultCommand option 2019-02-16 21:05:32 +01: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
Mario Rodas
1a786eb088 bash: place bashrc early non-interactive return below system setup
Setting PATH and environment setup is required in non-interactive shells
2018-10-16 19:54:07 -05:00
Mario Rodas
dff88ee954 bash: do not evaluate completions on dumb terminals 2018-10-14 10:38:48 -05:00
Mario Rodas
b82bc64a0e bash: do not evaluate /etc/bashrc on non-interactive shells 2018-10-14 10:38:40 -05:00
Daiderd Jordan
9a04aea8ea
tmux: remove reattach-to-user-namespace
It's not been needed anymore for a few macOS releases now.
2018-10-12 21:59:41 +02:00
Daiderd Jordan
5a081e09ce
vim: expose programs.vim.package 2018-08-03 20:39:23 +02:00
Daiderd Jordan
6424eb998d
vim: formatting 2018-08-03 20:31:37 +02:00
Kirill Elagin
8e1f40ad48
gnupg: add gpg-agent service
Fixes #77.
2018-05-18 23:19:06 +03:00
Daiderd Jordan
072d2e75ab
zsh: fix nix run shells of nix 2.0 2018-03-27 00:32:31 +02:00
Daiderd Jordan
2b721afd99
ssh: add option to configure known hosts 2018-03-06 20:42:33 +01:00
Daiderd Jordan
02a8d469da
bash: move file 2018-01-20 01:35:42 +01:00
Daiderd Jordan
630ab79197
bash: remove shell wrapper 2018-01-20 01:34:45 +01: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
ed72bf6409
bash: don't setup environment in a nix-shell 2018-01-13 14:51:36 +01:00
Eric Bailey
b6e692361e
tmux: play nice with iTerm2
That is, don't use reattach-to-user-namespace. iTerm2 provides an option to
allow applications in the terminal to access the clipboard, as well as deeper
shell integration utilities, which obviate the need for
reattach-to-user-namespace. What's more, iTerm2's tmux integration doesn't work
with it, nor when aggressive-resize is on.

See also:

- https://iterm2.com/documentation-preferences.html
- https://iterm2.com/documentation-utilities.html
- https://iterm2.com/documentation-tmux-integration.html
- https://github.com/tmux-plugins/tmux-sensible/issues/24
2018-01-03 13:32:07 -06:00
Daiderd Jordan
5d80f2c826
Merge pull request #50 from cbarrett/master
Port over the NixOS fish module
2017-11-06 00:09:29 +01:00
Daiderd Jordan
78d426940a
improve descriptions for a bunch of modules 2017-10-19 22:16:09 +02:00
Colin Barrett
a069111873 Set PATH since that's not being done by setEnvironment 2017-10-15 23:42:37 -04:00
Colin Barrett
1dd1f60f90 nixos -> nix_darwin 2017-10-15 23:26:16 -04:00
Colin Barrett
a6cd3bb61f Port over the NixOS fish module 2017-10-15 23:26:16 -04: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
45d259cb3e
add programs.nix-index module 2017-07-28 23:17:53 +02:00
Daiderd Jordan
61cd181a0f
zsh: use container names for fzf docker completion 2017-07-18 22:34:09 +02:00
Daiderd Jordan
1cea7669ef
bash: disable completion by default 2017-07-11 20:21:09 +02:00
Daiderd Jordan
a6ca6e7974
bash: don't set default prompt 2017-07-09 17:14:34 +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
9f669d69e3
tmux: fix vim copy bindings for >= v2.4 2017-06-04 19:20:19 +02:00
Daiderd Jordan
d5596d5df2
programs-info: add module and run install-info on system packages.
Fixes #25
2017-05-21 10:51:01 +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
0495b41b4d
bash: add enableCompletion option 2017-05-13 15:32:11 +02:00