Server IP : 51.89.169.208 / Your IP : 216.73.216.211 Web Server : Apache System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : yellowleaf ( 1019) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /proc/thread-self/root/proc/self/root/usr/share/zsh/5.5.1/functions/ |
Upload File : |
# Copy the word before the one you last copied --- call repeatedly # to cycle through the list of words on the history line. # # Words in combination with insert-last-word to use the line reached, # and start from the word before last. Otherwise, it will operate on # the current line. emulate -L zsh setopt typesetsilent typeset -g __copyword if (( ${NUMERIC:-0} )); then # 1 means last word, 2 second last, etc. (( __copyword = ${NUMERIC:-0} )) zstyle -s :$WIDGET widget __copywidget elif [[ -n $__copyword && $WIDGET = $LASTWIDGET ]]; then (( __copyword-- )) elif [[ $LASTWIDGET = *insert-last-word ]]; then __copyword=-2 typeset -g __copywidget=$LASTWIDGET else __copyword=-1 zstyle -s :$WIDGET widget __copywidget fi zle ${__copywidget:-.insert-last-word} 0 $__copyword