X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Flib%2Fmisc.zsh;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Flib%2Fmisc.zsh;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=1f637083a66f3576c7994f958771474a3fbeb5a9;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/lib/misc.zsh b/stow/oh-my-zsh/.oh-my-zsh/lib/misc.zsh deleted file mode 100644 index 1f63708..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/lib/misc.zsh +++ /dev/null @@ -1,35 +0,0 @@ -autoload -Uz is-at-least - -# *-magic is known buggy in some versions; disable if so -if [[ $DISABLE_MAGIC_FUNCTIONS != true ]]; then - for d in $fpath; do - if [[ -e "$d/url-quote-magic" ]]; then - if is-at-least 5.1; then - autoload -Uz bracketed-paste-magic - zle -N bracketed-paste bracketed-paste-magic - fi - autoload -Uz url-quote-magic - zle -N self-insert url-quote-magic - break - fi - done -fi - -## jobs -setopt long_list_jobs - -env_default 'PAGER' 'less' -env_default 'LESS' '-R' - -## super user alias -alias _='sudo ' - -## more intelligent acking for ubuntu users and no alias for users without ack -if (( $+commands[ack-grep] )); then - alias afind='ack-grep -il' -elif (( $+commands[ack] )); then - alias afind='ack -il' -fi - -# recognize comments -setopt interactivecomments