trick/bin/install_user
Alex Lin 14a75508a3 Cleaning up once include variables and copyright cleanup.
Changed all header file once include variables to follow the same naming
convention and not start with any underscores.  Also deleted old
incorrect copyright notices.  Also removed $Id: tags from all files.

Fixes #14.  Fixes #22.
2015-03-23 16:03:14 -05:00

16 lines
422 B
Perl
Executable File

#! /usr/bin/perl
# install_user tells users to add Trick's bin to their path.
use File::Basename ;
use Cwd 'abs_path';
$trick_bin = dirname(abs_path($0)) ;
$trick_home = dirname($trick_bin) ;
print "if you use bash add this line to your .bashrc\n" ;
print "export PATH=\"\${PATH}:$trick_home/bin\"\n\n" ;
print "if you use [t]csh add this line to your .cshrc\n" ;
print "setenv PATH \"\${PATH}:$trick_home/bin\"\n" ;