convert hardcoded functions to new functions option

This commit is contained in:
Griffin Smith 2020-06-08 10:20:00 -04:00
parent f48477cfdb
commit 0a7b41284d

View file

@ -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 = {