Runned a shfmt on .zshrc
This commit is contained in:
parent
39a7bb5233
commit
ea8a1cee3a
8
.zshrc
8
.zshrc
@ -4,10 +4,10 @@ CONFIG=$HOME/.config
|
|||||||
|
|
||||||
parse_git_branch() {
|
parse_git_branch() {
|
||||||
command=$(git branch \
|
command=$(git branch \
|
||||||
2> /dev/null \
|
2>/dev/null |
|
||||||
| sed -n -e 's/^\* \(.*\)/\1/p' \
|
sed -n -e 's/^\* \(.*\)/\1/p' |
|
||||||
| awk 'NF{print $NF}' \
|
awk 'NF{print $NF}' |
|
||||||
| sed 's/)//g' \
|
sed 's/)//g' \
|
||||||
2>/dev/null)
|
2>/dev/null)
|
||||||
[ -z $command ] && echo -e "$ " || echo -e "$command $ "
|
[ -z $command ] && echo -e "$ " || echo -e "$command $ "
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user