diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-08-15 15:26:23 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-08-15 15:33:15 +0200 |
commit | 63c16da0da3e9b0cdc3fb6f9cd3031dc2297a09c (patch) | |
tree | 3a12846837cd13d6440de307de47669c9f06b895 /config/common | |
parent | 0ea5e7a97b7ccba919d5c495e3e328b30cec9e03 (diff) |
[.zshrc] refactored git_parse_remote
use cut instead of sed to get the state of the remote, now you could use
this command:
git branch -v 2> /dev/null | sed '/^*/!d;s/^[^[]*\[\([^ ]*\).*$/\1/'
but at this point, it feels more like intellectual masturbation.
Diffstat (limited to 'config/common')
0 files changed, 0 insertions, 0 deletions