I had to replace the gear cable and was going to originally just thread the new inner through.
Glad I didn't in the end because the bike shop did not replace the outer last time when they said they would, and it was actually worn through in 2 places under the tape. To be fair, they didn't charge me for the job, so I am not complaining too much.