Compare commits
1 Commits
512e535ff5
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| c1293b1914 |
@@ -142,6 +142,16 @@ elif which batcat &> /dev/null; then
|
||||
}
|
||||
fi
|
||||
|
||||
# Wrap watch to colorize 'watch git status', otherwise pass through to the real
|
||||
# watch command.
|
||||
watch() {
|
||||
if [ "git status" = "$*" ]; then
|
||||
command watch --color -n 2 'git -c color.status=always status'
|
||||
else
|
||||
command watch "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
if which docker-machine &> /dev/null; then
|
||||
# Wrap the docker command to print a message if a docker-machine is not
|
||||
# running, rather than just stating it can not find it's socket.
|
||||
|
||||
Reference in New Issue
Block a user