小编Ker*_*ick的帖子

pwgen 可以输出一定长度的密码吗?

我正在使用命令行工具pwgen来生成密码,因为我喜欢使用sha1命令行标志获得的可重复性。引用手册页:

   -H, --sha1=/path/to/file[#seed]
          Will  use the sha1's hash of given file and the optional seed to
          create password. It will allow you to compute the same  password
          later, if you remember the file, seed, and pwgen's options used.
          ie: pwgen -H ~/your_favorite.mp3#your@email.com gives a list  of
          possibles  passwords for your pop3 account, and you can ask this
          list again and again.

          WARNING: The passwords generated using this option are not  very
          random.   If you use this …
Run Code Online (Sandbox Code Playgroud)

password

10
推荐指数
1
解决办法
6036
查看次数

oh-my-zsh 主题似乎不会更新,除非我重新启动 zsh

我已经开始制作自己的oh-my-zsh主题,但遇到了一些问题。我正在尝试根据分支的名称更改 git 输出的颜色,除了一个重要的警告外,它工作得很好:它在启动时将颜色更改为正确的颜色zsh,但从不重新评估颜色应该是什么除非我重新启动zsh

这是实际问题的屏幕截图:

问题截图

zsh这是我当前主题的要点

我是否做错了什么,或者oh-my-zsh是否zsh支持这种事情?

zsh oh-my-zsh

4
推荐指数
1
解决办法
8565
查看次数

标签 统计

oh-my-zsh ×1

password ×1

zsh ×1