The barrel at the bottom of the picture has a pinch bolt at th top. The cable is pinched just like it is on caliper brake cable. The cable doesn't go inside the barrel, but beside it. Put a crimp on it to protect it from fraying just like you would for a brake cable. If you make it neat it's just fine.