mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2025-06-13 13:03:54 +00:00
missed a path comparison
This commit is contained in:
parent
105c2b47e5
commit
cc64df4bf0
@ -113,8 +113,7 @@ function __bobthefish_pretty_parent -S -a child_dir -d 'Print a parent directory
|
|||||||
end
|
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 ignore_path in $theme_vcs_ignore_paths
|
||||||
set ignore_path (realpath $p 2>/dev/null)
|
|
||||||
switch $PWD/
|
switch $PWD/
|
||||||
case $ignore_path/\*
|
case $ignore_path/\*
|
||||||
echo 1
|
echo 1
|
||||||
|
Loading…
Reference in New Issue
Block a user