Changes

Jump to navigation Jump to search
m
no edit summary
Line 53: Line 53:  
</syntaxhighlight>and create their working directories<syntaxhighlight lang="bash">
 
</syntaxhighlight>and create their working directories<syntaxhighlight lang="bash">
 
mkdir -p work/{smebase,smecontribs}
 
mkdir -p work/{smebase,smecontribs}
</syntaxhighlight>You may want to tweak their shell to make it a little friendlier<syntaxhighlight lang="bash">
+
</syntaxhighlight>You will need to tweak their shell for CVS access and whilst there why not make it a little friendlier :)<syntaxhighlight lang="bash">
 
cat <<_EOT > ~/.bashrc
 
cat <<_EOT > ~/.bashrc
 
# .bashrc
 
# .bashrc
 +
# Developer environment
   −
# User specific aliases and functions
+
export CVS_RSH=ssh # tell CVS to use ssh
 +
 
 +
# DO NOT set CVSROOT
    
alias rm='rm -i'
 
alias rm='rm -i'
alias cp='cp -i'
+
alias cp='cp -i --preserve=timestamps'
 
alias mv='mv -i'
 
alias mv='mv -i'
   Line 83: Line 86:  
export PATH
 
export PATH
 
_EOT
 
_EOT
   
</syntaxhighlight>You will have to log out and back in for this to take effect.
 
</syntaxhighlight>You will have to log out and back in for this to take effect.
 
[[Category:Developer]]
 
[[Category:Developer]]
371

edits

Navigation menu