summary refs log tree commit diff
path: root/doc/builders/packages/shell-helpers.section.md
blob: e7c2b0abebfcaa94958e33402d3a27e6f58df1d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# 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"
```