mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
104f24e0b9
This reverts commit de5b2ef096
.
12 lines
529 B
Markdown
12 lines
529 B
Markdown
# Interactive shell helpers {#sec-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:
|
|
|
|
- `fzf` : `fzf-share`
|
|
|
|
E.g. `fzf` can then be used in the `.bashrc` like this:
|
|
|
|
```bash
|
|
source "$(fzf-share)/completion.bash"
|
|
source "$(fzf-share)/key-bindings.bash"
|
|
```
|