包含标签 shell 的文章

fatal could not read Username for 'https://github.com' terminal prompts disabled

跟往常一样,一日不升级本机包版本就一日不舒服。今天就踩坑了 ➜ ~ brew update fatal: could not read Username for 'https://github.com': terminal prompts disabled Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-completions failed! 怎么解决呢? ➜ ~ brew untap homebrew/homebrew-completions Untapping homebrew/completions... Untapped (105 files, 71.0KB). ➜ ~ brew update Already up-to-date. ……

阅读全文

perl Setting locale failed, Please check that your locale settings

在Centos把shell改为zsh后,出现了下面这个waring信息,虽不影响使用,但看着实在是烦人. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_CTYPE = "UTF-8", LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). 查了一些资料,可以通过在.zshrc中增加两行配置来解决这个问题 LC_CTYPE=en_US.UTF-8 LC_ALL=en_US.UTF-8 ……

阅读全文

zsh no matches found *

机器用的shell是zsh,在用acme.sh申请Let’s Encrypt通配符证书时,报了这么个错: zsh: no matches found: *.example.com 查了一下,对.zshrc增加下面一行配置即可 setopt no_nomatch ……

阅读全文

自己动手写一个极路由内网穿透插件

市面上那么多极路由内网穿透插件,为了可控和安全,为何不自己动手写一个呢? 事出有因 也很简单,懒的说明。直接上源码咯 源码: https://github.com/xu42/hiwifi-frpc/ 如果对源码没兴趣, 直接下载插件在极路由后台上传即可. 与其他frpc极路由插件不同的是 - 开源 - frpc 版本可控(因为未上架 需要自己打包上传2333) 欢迎留言交流………

阅读全文