summaryrefslogtreecommitdiff
path: root/modules/programs/bash
AgeCommit message (Collapse)Author
2020-01-21bash: Let bash load completions lazilyVäinö Järvelä
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
2018-10-25Unify environment configuration and don't run in child shellsAndrew Childs
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-16bash: place bashrc early non-interactive return below system setupMario Rodas
Setting PATH and environment setup is required in non-interactive shells
2018-10-14bash: do not evaluate completions on dumb terminalsMario Rodas
2018-10-14bash: do not evaluate /etc/bashrc on non-interactive shellsMario Rodas
2018-01-20bash: move fileDaiderd Jordan