=== removed file 'zsh-functions/alias_setup_busybox' --- zsh-functions/alias_setup_busybox 2016-03-10 14:49:29 +0000 +++ zsh-functions/alias_setup_busybox 1970-01-01 00:00:00 +0000 @@ -1,3 +0,0 @@ -if ! (($+commands[vi] | $+commands[vim] | $+commands[nvim] | $+commands[nvi] | $+commands[elvis])); then - alias vi='busybox vi' -fi === modified file 'zsh-functions/alias_setup_ls' --- zsh-functions/alias_setup_ls 2016-03-10 14:49:29 +0000 +++ zsh-functions/alias_setup_ls 2013-06-04 18:44:28 +0000 @@ -1,5 +1,2 @@ alias ls="ls --color" -# catch busybox (and others where ls is symlink to something else) -if [[ ${${commands[ls]}:A:t} == ls ]]; then - alias ll="ls -lh --color --time-style=long-iso" -fi +alias ll="ls -lh --color --time-style=long-iso" === removed file 'zsh-functions/site_zshrc_75_bracketed_paste' --- zsh-functions/site_zshrc_75_bracketed_paste 2016-03-10 14:49:29 +0000 +++ zsh-functions/site_zshrc_75_bracketed_paste 1970-01-01 00:00:00 +0000 @@ -1,55 +0,0 @@ -# Code from Mikael Magnusson: http://www.zsh.org/mla/users/2011/msg00367.html -# -# Requires xterm, urxvt, iTerm2 or any other terminal that supports bracketed -# paste mode as documented: http://www.xfree86.org/current/ctlseqs.html - -# create a new keymap to use while pasting -bindkey -N paste -# make everything in this keymap call our custom widget -bindkey -R -M paste "^@"-"\M-^?" paste-insert -# these are the codes sent around the pasted text in bracketed -# paste mode. -# do the first one with both -M viins and -M vicmd in vi mode -bindkey '^[[200~' _start_paste -bindkey -M paste '^[[201~' _end_paste -# insert newlines rather than carriage returns when pasting newlines -bindkey -M paste -s '^M' '^J' - -zle -N _start_paste -zle -N _end_paste -zle -N paste-insert _paste_insert - -# switch the active keymap to paste mode -function _start_paste() { - bindkey -A paste main -} - -# go back to our normal keymap, and insert all the pasted text in the -# command line. this has the nice effect of making the whole paste be -# a single undo/redo event. -function _end_paste() { -#use bindkey -v here with vi mode probably. maybe you want to track -#if you were in ins or cmd mode and restore the right one. - bindkey -v - LBUFFER+=${(qqq)_paste_content} - unset _paste_content -} - -function _paste_insert() { - _paste_content+=$KEYS -} - -function _zle_line_init_paste() { - # Tell terminal to send escape codes around pastes. - [[ $TERM == rxvt-unicode || $TERM == xterm || $TERM = xterm-256color ]] && printf '\e[?2004h' -} -zle_init_add _zle_line_init_paste - -function _zle_line_finish_paste() { - # Tell it to stop when we leave zle, so pasting in other programs - # doesn't get the ^[[200~ codes around the pasted text. - [[ $TERM == rxvt-unicode || $TERM == xterm || $TERM = xterm-256color ]] && printf '\e[?2004l' -} -zle_finish_add _zle_line_finish_paste - -# vim: ft=zsh