convert hardcoded functions to new functions option
This commit is contained in:
parent
f48477cfdb
commit
0a7b41284d
1 changed files with 4 additions and 10 deletions
|
@ -25,16 +25,10 @@ in
|
|||
amerge = "alembic merge heads";
|
||||
};
|
||||
|
||||
initExtra = ''
|
||||
# Alembic {{{
|
||||
function aup() {
|
||||
alembic upgrade ''${1:-head}
|
||||
}
|
||||
|
||||
function adown() {
|
||||
alembic downgrade ''${1:--1}
|
||||
}
|
||||
'';
|
||||
functions = {
|
||||
aup = "alembic upgrade \${1:-head}";
|
||||
adown = "alembic downgrade \${1:--1}";
|
||||
};
|
||||
};
|
||||
|
||||
programs.git = {
|
||||
|
|
Loading…
Reference in a new issue