summaryrefslogtreecommitdiff
path: root/.zsh_functions.file
blob: 45e1e79ea0b30179b724e8e0d790235da7fed4a6 (plain)
1
2
3
4
5
6
7
8
function with () {
    local prefix="$* " str compcontext=normal:normal:_normal
    while :
    do
      str=$prefix
      vared str && eval $str
    done
}