Compare commits
1 commit
204f13ba2e
...
3163809848
Author | SHA1 | Date | |
---|---|---|---|
3163809848 |
1 changed files with 0 additions and 19 deletions
19
.kakrc
19
.kakrc
|
@ -1,19 +0,0 @@
|
||||||
# commands to edit important files in the root
|
|
||||||
declare-option str project_root %sh{ git rev-parse --show-toplevel }
|
|
||||||
|
|
||||||
define-command -params 1 root-edit %{
|
|
||||||
edit %exp{%opt{project_root}/%arg{1}}
|
|
||||||
}
|
|
||||||
|
|
||||||
define-command just %{
|
|
||||||
root-edit justfile
|
|
||||||
}
|
|
||||||
define-command pyproject %{
|
|
||||||
root-edit pyproject.toml
|
|
||||||
}
|
|
||||||
define-command readme %{
|
|
||||||
root-edit README.md
|
|
||||||
}
|
|
||||||
|
|
||||||
# change working directory to the package
|
|
||||||
change-directory %exp{%opt{project_root}/src/zona}
|
|
Loading…
Add table
Add a link
Reference in a new issue