- Commit
- 6d707b6dc46abeb4e9fb29dcdf173b1b5fea6a31
- Parent
- 0fe05826a8ebab0fae1982139291b48c79aa0d54
- Author
- Pablo <pablo-escobar@riseup.net>
- Date
Fixed the query for new files in the status subcommand
A simple configuration manager
Fixed the query for new files in the status subcommand
1 file changed, 4 insertions, 0 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | config | 4 | 4 | 0 |
diff --git a/config b/config @@ -143,6 +143,10 @@ case "$1" in # Show the configuration files that have been modified or deleted status) call_git status --porcelain \ + | awk '/^A / { print "✔️ ~/"$2 }; /^ A/ { print " ~/"$2 }' \ + | print_files 'new' '30' + + call_git status --porcelain \ | awk '/^M / { print "✔️ ~/"$2 }; /^ M/ { print " ~/"$2 }' \ | print_files 'modified' '33'