Category: shell

OYB software, shell

List files without stopping to type in zsh

This zsh widget allows you to list files in the current directory without interrupting the command you are typing. Usage Hit <tab>  in the middle of any command. It will list all files below the command line. Hit <space><tab>  on an empty command line. It will list directories. Hit <space><space><tab>  on an empty command line. It will …

OYB software, shell

Smart tmux sessions

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 -O – >> ~/.zshrc , or in bash wget -O – >> ~/.bashrc New shell sessions will automatically start or resume a …