We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea42697 commit e0b4554Copy full SHA for e0b4554
README.md
@@ -18,6 +18,22 @@ $ make user-install # Install to ~/.local/bin
18
$ make install # Install to /usr/local/bin/
19
```
20
21
+### Bash completion
22
+
23
+If you installed git-fpaste with `make user-install` you need to add the following script to your `~/.bashrc` to get completion working.
24
25
+```bash
26
+function _load_completions {
27
+ for comp in "${1}"; do
28
+ if [ -f "${comp}" ] ; then
29
+ . $comp
30
+ fi
31
+ done
32
+}
33
+_load_completions `ls -w1 ${HOME}/.local/share/bash-completion/completions/*`
34
+```
35
36
37
## Usage
38
39
Usage: git fpaste <command> [<args>]
0 commit comments