taskwarrior: install bash completion for fish
And also modernize the location of the bash completion file.
This commit is contained in:
parent
463df8c9f7
commit
bd8ae7359b
|
@ -16,8 +16,10 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ cmake libuuid gnutls ];
|
nativeBuildInputs = [ cmake libuuid gnutls ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mkdir -p "$out/etc/bash_completion.d"
|
mkdir -p "$out/share/bash-completion/completions"
|
||||||
ln -s "../../share/doc/task/scripts/bash/task.sh" "$out/etc/bash_completion.d/"
|
ln -s "../../doc/task/scripts/bash/task.sh" "$out/share/bash-completion/completions/"
|
||||||
|
mkdir -p "$out/etc/fish/completions"
|
||||||
|
ln -s "../../../share/doc/task/scripts/fish/task.fish" "$out/etc/fish/completions/"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
Loading…
Reference in New Issue