|
|
@ -96,10 +96,11 @@ end
|
|
|
|
function __bobthefish_ignore_vcs_dir -d 'Check whether the current directory should be ignored as a VCS segment'
|
|
|
|
function __bobthefish_ignore_vcs_dir -d 'Check whether the current directory should be ignored as a VCS segment'
|
|
|
|
for p in $theme_vcs_ignore_paths
|
|
|
|
for p in $theme_vcs_ignore_paths
|
|
|
|
set ignore_path (realpath $p ^/dev/null)
|
|
|
|
set ignore_path (realpath $p ^/dev/null)
|
|
|
|
string match $ignore_path $PWD >/dev/null
|
|
|
|
switch $PWD/
|
|
|
|
or string match $ignore_path'/*' $PWD >/dev/null
|
|
|
|
case $ignore_path/\*
|
|
|
|
and echo 1
|
|
|
|
echo 1
|
|
|
|
and return
|
|
|
|
return
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|