03 2019 档案

摘要:# Query/use custom command for `git`. zstyle -s ":vcs_info:git:*:-all-" "command" _omz_git_git_cmd : ${_omz_git_git_cmd:=git} # # Functions # # The name of the current branch # Back-compatibility w... 阅读全文
posted @ 2019-03-19 14:30 丶Blank 阅读(2148) 评论(0) 推荐(0)
摘要:最近用mosh替换了ssh作为连接开发机的工具,发现另外一个问题,ls cat随便什么命令输出结果超过一行的,向上翻页就没有了,找了下官网的FAQ也提到了这个问题,目前解决方案是使用tmux或者screen。。。 Q: Why is my terminal's scrollback buffer i 阅读全文
posted @ 2019-03-14 14:17 丶Blank 阅读(657) 评论(0) 推荐(0)
摘要:1、Tmux,连接开发机可以让在任务在开发机一直执行,不用nohup &这种了也相对稳定,还有session可以记录当时的状态。 常用命令: tmux new -s name 指定名字开启一个tmux session tmux ls 显示sessions tmux a -t name 指定name连 阅读全文
posted @ 2019-03-07 11:39 丶Blank 阅读(5081) 评论(0) 推荐(0)