OYB软件, 贝壳

列出文件而不停止输入zsh

使用此zsh小部件,您可以列出当前目录中的文件,而不会中断正在键入的命令。用法命中<tab>在任何命令中间。它将在命令行下面列出所有文件。击中<space><tab>在空的命令行上。它将列出目录。击中<space><space><tab>在空的命令行上。它会…

吉特, OYB软件

使用gitgot-blob从git存储库中完全删除文件

Usage git forget-blob file_to_forget Installation Get the script from github and make it executable. To do it in one step, paste the following on your terminal sudo wget //raw.githubusercontent.com/nachoparker/git-forget-blob/master/git-forget-blob.sh -O /usr/local/bin/git-forget-blob sudo chmod +x /usr/local/bin/git-forget-blob If you don’t like installing to /usr/local/bin  using sudo ,  just copy git-forget-blob  wherever you like. It will work as long …

OYB软件, 贝壳

智能tmux会话

Usage Instead of tmux just type start_tmux Installation Get the code from github, and append it to your .zshrc or .bashrc. To do it in one step, paste in zsh wget //raw.githubusercontent.com/nachoparker/smart-tmux-sessions/master/start_tmux.sh -O – >> ~/.zshrc , or in bash wget //raw.githubusercontent.com/nachoparker/smart-tmux-sessions/master/start_tmux.sh -O – >> ~/.bashrc New shell sessions will automatically start or resume a …