add purge command
This commit is contained in:
parent
4a7febee6c
commit
2682ed958b
6 changed files with 97 additions and 4 deletions
|
|
@ -241,7 +241,7 @@ in
|
|||
dirPaths = lib.concatStringsSep ":" ([ systemDir ] ++ cfg.extraDirs);
|
||||
wrapped = pkgs.writeShellScriptBin "inshellah" ''
|
||||
case "''${1:-}" in
|
||||
complete|query|dump)
|
||||
complete|query|dump|purge)
|
||||
exec ${cfg.package}/bin/inshellah "$@" --dir "''${XDG_CACHE_HOME:-$HOME/.cache}/inshellah:${dirPaths}"
|
||||
;;
|
||||
*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue