Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A common setup for work environment of an ubuntu workplace
Emacs Lisp Perl Shell Ruby DM
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bash
emacs
perl
ruby
.gitignore
README.md
bashrc
crontab.txt
dot.aprc
dot.gemrc
dot.gitconfig
dot.gitconfig.mac
dot.irbrc
dot.pryrc
dot.rspec
dot.vimrc
ruby_rails_capistrano_install_sh
setup_dev_env.sh

README.md

Setup Your Workspace With Workpad

You should clone this workpad git repository from your home directory.

bash

The .bashrc file in your home directory should only contain machine specific settings; for global settings, add the following line in it:

if [ -f ~/workpad/bashrc ]; then
     . ~/workpad/bashrc
fi      

Emacs

If you don't have .emacs file in your home directory, simply make a symbolic link to use the one setup in workpad

% ln -s ~/workpad/emacs/emacs.el .emacs

If you already have .emacs file in your home directory, you should only need the following lines (in addition to some optin settings)

(setq load-path (cons (expand-file-name 
 (concat (getenv "HOME") "/workpad/emacs")) load-path))

(load "set-up")

Git

Make a symbolic link from your home directory

% ln -s ~/workpad/git/gitconfig .gitconfig

Some Default hidden (e.g, Run Command) files

Workpad has some "dot" files that can be used as default rc files (such as .irbrc, .rspec) or configuration files (e.g., .gitconfig). If you like any of them, you can simply create a symbolic link pointing to the one. For example, I set up the following

% cd ~
% ln -s ~/workpad/dot.irbrc .irbrc
% ln -s ~/workpad/dot.gitconfig .gitconfig      
% ln -s ~/workpad/dot.rspec .rspec
% ln -s ~/workpad/dot.gemrc .gemrc
Something went wrong with that request. Please try again.