You could cut the heatshrink tube, wrap it around the cable and then secure it with transparent tape. It would slide around but at least it wouldn't leave residue on the cable.
Maybe clip-on cable markers like this? [1] Easy to 3D print if you're so inclined.
[1] https://uk.farnell.com/multicomp-pro/pb-250-sm0c/cable-marke...