tmux clipbiard
This commit is contained in:
@@ -5,6 +5,8 @@ set -g history-limit 100000
|
||||
|
||||
# mouse
|
||||
set -g mouse on
|
||||
set -s set-clipboard on
|
||||
set -g allow-passthrough on
|
||||
|
||||
# utf8 / colors
|
||||
set -g default-terminal "screen-256color"
|
||||
|
||||
4
.zshrc
4
.zshrc
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user