@ompugao_ blog

hello this wonderful world

tmux setting

type your password only once

Add the following function to .zshrc.

function savepasswd(){
    local password
    echo -n "password:"
    read -s password ; echo
    tmux bind-key y send-keys "$password"
}

Then,call the function and save your password.

And then, type: C-<your tmux prefix> y.

Comments