

Here are some of the alias commands I put in my Dropbox bash_profile file: In my bash profiles I put aliases, very simple command substitutions or expansions. Of course one of the first things I do in the Dropbox file is add bin to my PATH:Įxport PATH=~/Dropbox/bin:$PATHĮven if you don’t use Dropbox, having most of your bash environment set up in a separate file makes it easy to copy from machine to machine and keep your customizations readily accessible. Inside my ~/.bash_profile script, near the top, I check for and include the Dropbox file: It’s what Apple’s iDisk is supposed to be, except that Apple’s iDisk is unreliable and slow, where as the Dropbox and SugarSync guys have figured it out.įirst I create a bin folder on my Dropbox:Īs a repository for my new ~/Dropbox/bin/bash_profile script as well as sundry scripts and command line apps that I want to share, such as my LocateMe app for finding my latitude and longitude. If you haven’t explored Dropbox or SugarSync yet, you probably should. The following are suggestions for useful additions to your command line lifestyle. The key is to abstract away machine-specific references. With a little effort you can share the critical components across several computers either automatically ( Dropbox or SugarSync) or manually.

If you live at the command line as I do, you probably have a number of aliases, functions, and status updates added to your ~/.bash_profile, ~/.bashrc, or similar file.
