LINUX.ORG.RU

История изменений

Исправление bryak, (текущая версия) :

git-status --> alias git ss
git-sync --> alias git sy
verify --> nix-verify
gc --> nix-gc
analyze --> nix-analyze
backup-config --> nix-bak-cfg
switch --> nix-switch
boot --> nix-boot
update --> nix-update
upgrade --> nix-upgrade

switch: _check_deps _check_space check-all _confirm-action backup-config

switch: \
        _check_deps \
        _check_space \
        check-all \
        _confirm-action \
        backup-config

if command -v ncdu; then ncdu /nix/store else printf ’Error: ncdu not found fi

Ну или «завернуть» function _CHK_CMD()

_CHK_CMD ncdu

Исправление bryak, :

git-status --> alias git ss
git-sync --> alias git sy
verify --> nix-verify
gc --> nix-gc
analyze --> nix-analyze
backup-config --> nix-bak-cfg
switch --> nix-switch
boot --> nix-boot
update --> nix-update
upgrade --> nix-upgrade

switch: _check_deps _check_space check-all _confirm-action backup-config

switch: \
        _check_deps \
        _check_space \
        check-all \
        _confirm-action \
        backup-config

Исходная версия bryak, :

git-status --> alias git ss
git-sync --> alias git sy
verify --> nix-verify
gc --> nix-gc
analyze --> nix-analyze
backup-config --> nix-bak-cfg
switch --> nix-switch
boot --> nix-boot
update --> nix-update
upgrade --> nix-upgrade