我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

Golang安装打破了我的zsh提示macos

I installed golang from .dmg and it broke my zsh prompt (if I try bash it works ok). I have the following line in .bash_profile

export PS1='[\u@\h \w$(__git_ps1)]
\$ '

But when I echo my $PS1 it equals %m%#, as well as $PROMPT. I am sure it happened after install of go. My $THEME is empty. Macos: Sierra 10.12.6 Go: go1.10 darwin/amd64

How does this work?

近期文章

  • react-player没有播放html的<video>标签
  • Golang嵌套结构片-错误索引超出范围
  • kafka服务器:偏移的主题尚未创建
  • Windows 10 golang安装程序。 错误,不在环境中
  • Golang-查找特定接口的实现
  • 无法使用expression.NewBuilder()正确过滤
  • 使用go中的通道返回值测试Emitter函数
  • 获取Websocket会话
  • GetById和CreateOrUpdate不起作用
  • 转到json中的scape html html请求
  • Golang API(与Buffalo)检索发布数据
  • 卡夫卡制片人恐慌
  • 静态文件网址意外行为
  • 查找具有与字符串数组匹配的值的地图项?
  • 如何从Golang的* fasthttp.Request获取标头内容?
  • 使用nil上下文,但不要惊慌并挂在那里。 这怎么可能呢?
  • 如何在GoLang中从Oracle(长原始格式)读取图像
  • 如何使用Golang中的api编辑GCP的云存储中的现有数据
  • 在dynamodb.New的参数中不能使用cfg(类型“…aws / aws-sdk-go-v2 / aws” .Config”)作为类型(类型…)。
  • 避免解析Xrandr输出

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华