9 lines
295 B
Fish
9 lines
295 B
Fish
|
|
function gst --wraps='git status -sb --show-stash --untracked-files=all' --description 'status + changed files'
|
||
|
|
git status -sb --show-stash --untracked-files=all
|
||
|
|
set -l changes (git status --porcelain=v1)
|
||
|
|
if test -n "$changes"
|
||
|
|
echo
|
||
|
|
git diff --name-status
|
||
|
|
end
|
||
|
|
end
|