tmux clipbiard

This commit is contained in:
2026-02-16 08:29:14 +01:00
parent d11695bcf8
commit 396c36f5a9
2 changed files with 6 additions and 0 deletions

4
.zshrc
View File

@@ -172,6 +172,10 @@ function pj {
dir=$(find -L ${(u)roots} -mindepth 1 -maxdepth 1 -type d 2>/dev/null | sort | awk '{printf "%3d %s\n", NR, $0}' | fzf --reverse --prompt="project> " --query="$1" --select-1 --exit-0 --with-nth=2.. | sed 's/^ *[0-9]* //') && cd "$dir"
}
function clip {
echo -ne "\033]52;c;$(base64 | tr -d '\n')\a"
}
function mkcd {
: "${1:?where?}"
[[ -e $1 ]] && { echo "file exists"; return 1 }