Something went wrong. Try again.
Configuration for my NixOS based systems and Home Manager
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031#!/usr/bin/env rcflag e +gitroot=`{git rev-parse --show-toplevel}if(~ $1 -x --debug) { flag x + shift}if(~ $* ()) { conflicted=`{git ls-files -u $gitroot | cut -f2 | uniq}} else { conflicted=$*}echo Conflicted files: $conflicted >[1=2]for (file in $conflicted) { prompt=(Do you want to add $file to the index? (y/n): ' ') echo Editing $file # Edit the file $EDITOR $file # Prompt for if we want to add it read -p $"prompt response; #" if (~ $response y Y) { git add $file }}