tkCVS Tips

Configuring the Editor

You can configure tkCVS to launch any editor when you open a file.

  1. Edit the .tkcvs file in your home directory.
  2. Add the following lines
set cvscfg(editor) zendstudio
set cvscfg(editorargs)

Zend Studio Shell

In order for the editor options to work with Zend Studio, I had to modify my /usr/bin/zendstudio script to open files using the full path. Here's that script.

#!/bin/bash

# Setup the path to add, or not
if echo "$1" | grep ^\/ >/dev/null; then
  x="$1"
else
  x=`pwd`/$1
fi


/usr/local/Zend/ZendStudio-5.5.0/bin/ZDE $x

wmctrl -a Zend

I need to change this script so that it doesn't use pwd if $1 starts with / or ../ or similar.

comments powered by Disqus
linux/tkcvs_tips.txt · Last modified: 2020/06/01 22:53 (external edit)