diff options
Diffstat (limited to 'bash/rec.bash')
-rw-r--r-- | bash/rec.bash | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bash/rec.bash b/bash/rec.bash new file mode 100644 index 0000000..9fc854f --- /dev/null +++ b/bash/rec.bash | |||
@@ -0,0 +1,11 @@ | |||
1 | # Recutils bash integration | ||
2 | # https://www.gnu.org/software/recutils/ | ||
3 | |||
4 | # enable shared library --- add other possible locations here | ||
5 | for lib in /usr/lib/recutils/bash-builtins/readrec.so ; do | ||
6 | if [ -f "$lib" ]; then | ||
7 | enable -f "$lib" readrec | ||
8 | break | ||
9 | fi | ||
10 | done | ||
11 | |||