fish: some functions and aliases
This commit is contained in:
parent
077a885d2a
commit
331c9b0e69
24 changed files with 115 additions and 40 deletions
6
cli/.config/fish/functions/greset.fish
Normal file
6
cli/.config/fish/functions/greset.fish
Normal file
|
@ -0,0 +1,6 @@
|
|||
function greset
|
||||
read -P "OK to reset and clean teh repo?"\n -ln1 resp
|
||||
test "$resp" != y && return 0
|
||||
command git clean -fd
|
||||
command git reset --hard
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue