nixpkgs/doc/packages/shell-helpers.section.md

524 B

Interactive shell helpers

Some packages provide the shell integration to be more useful. But unlike other systems, nix doesn't have a standard share directory location. This is why a bunch PACKAGE-share scripts are shipped that print the location of the corresponding shared folder. Current list of such packages is as following:

  • sk : sk-share

E.g. sk can then be used in the .bashrc like this:

source "$(sk-share)/completion.bash"
source "$(sk-share)/key-bindings.bash"