/
isp_michael
/
nixos
Обзор
Документация
Войти
/
isp_michael
/
nixos
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
user/programs/fish/functions/git.nix
25 строк
596 B
Michael
Change modes
08 апр 2026, 10:59
08 апр 2026, 10:59
9f58579
Код
Авторство
О чём код?
{ self, ... }: { programs = { fish = { functions = { git = '' if test "$argv[1]" = 'log' if contains -- '--graph' $argv command git $argv else command git log $argv[2..-1] | py ${self}/dependencies/git/git-log-short.py | column -ts '×' | bat end else if test "$argv[1]" = 'reflog' command git reflog $argv[2..-1] | py ${self}/dependencies/git/git-reflog.py | bat else command git $argv end ''; }; }; }; }