There's a shortcut to it assuming that you use the latest VHLT: create a clip brush, paint the sides of it you want with the desired texture, tie this brush to func_wall, set Render Mode to Solid, FX Amount to 255. now you don't need an extra clip brush over it, which makes editing much more convenient.
P.S. Keep in mind that certain tool textures can conflict with the CLIP texture, so if you get any errors mentioning the brush then check if it has any tool textures other than CLIP applied anywhere.