mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
setopt globalextended
This commit is contained in:
parent
d3a259b369
commit
4b143ab382
2 changed files with 2 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ function precmd {
|
|||
#Appears at the beginning of (and during) of command execution
|
||||
function preexec {
|
||||
emulate -L zsh
|
||||
setopt extended_glob
|
||||
setopt extendedglob
|
||||
local CMD=${1[(wr)^(*=*|sudo|ssh|-*)]} #cmd name only, or if this is sudo or ssh, the next cmd
|
||||
title "$CMD" "%100>...>$2%<<"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ function quick-look() {
|
|||
}
|
||||
|
||||
function man-preview() {
|
||||
man -t "$@" | open -f -a Preview
|
||||
man -t dvi "$@" | open -f -a Preview
|
||||
}
|
||||
|
||||
function trash() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue