fix(fish): Don't show error of missing onefetch
This commit is contained in:
@@ -143,7 +143,9 @@ function check_directory_for_new_repository
|
||||
set current_repository (git rev-parse --show-toplevel 2> /dev/null)
|
||||
if [ "$current_repository" ] && \
|
||||
[ "$current_repository" != "$last_repository" ]
|
||||
onefetch
|
||||
if type -q onefetch
|
||||
onefetch
|
||||
end
|
||||
end
|
||||
set -gx last_repository $current_repository
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user