feat(scripts): update git-check script
This commit is contained in:
parent
1bef468795
commit
08566ea0ee
1 changed files with 2 additions and 5 deletions
|
@ -1,7 +1,4 @@
|
|||
{ pkgs
|
||||
, config
|
||||
,
|
||||
}:
|
||||
{ pkgs, config, }:
|
||||
let
|
||||
git = config.programs.git.package;
|
||||
# checks for any Git repositories with uncommitted changes
|
||||
|
@ -33,7 +30,7 @@ pkgs.writeShellScriptBin "git-check" ''
|
|||
if $default_skip; then return; fi
|
||||
read -rp "Enter dirty directory? [y/n/N(skip others)] " userinput
|
||||
if [[ "$userinput" = "y" ]]; then
|
||||
$SHELL
|
||||
${pkgs.lazygit}/bin/lazygit
|
||||
fi
|
||||
if [[ "$userinput" = "N" ]]; then
|
||||
default_skip=true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue