Hi Robert,
I added 'cd ~/Sites' to config.fish and Terminal is perfectly starting in
~/Sites.
Please let me know if this is incorrect. Otherwise, thanks for your help!
Ryan
On Wed, Jun 18, 2014 at 10:05 AM, Robert Carpenter <rob...@robacarp.com>
wrote:
> In the past, my approach to this has been to just define an alias
> something along the lines of:
>
> alias scd "cd ~/Sites"
>
> At times, I've also taken the approach of instructing whatever Terminal
> app I'm using at the time to just start in whatever directory is occupying
> most of my time.
>
> You may also be interested in $CDPATH. From
> fishshell.com/docs/current/commands.html#cd :
>
> > If DIRECTORY is a relative path, the paths found in the CDPATH
> environment variable array will be tried as prefixes for the specified path.
>
> It is *possible* that setting $HOME will get you what you want, but I'd be
> pretty reluctant to do that because of how many different ways $HOME is
> used....you'll likely end up with all manner of nonsense dotfiles in your
> Sites folder.
>
> Robert
>
>
> On Jun 18, 2014, at 7:17, Ryan Burnett <ryanjburn...@gmail.com> wrote:
>
> > @David
> >
> > I'm trying to change my staring path from ~/ to ~/Sites (i.e. so I don't
> have to "cd Sites" each time).
> >
> > @Maher
> >
> > I added the "-x" flag but Terminal's still starting at ~/
> >
> > if status --is-login
> > set -x PATH $PATH ~/Sites
> > end
> >
> > How can I change my staring path to ~/Sites?
> >
> >
> > On Wed, Jun 18, 2014 at 1:58 AM, ماهر الخطيب <maher....@gmail.com>
> wrote:
> > use the set option: -x
> >
> >
> > On Tue, Jun 17, 2014 at 10:21 PM, Ryan Burnett <ryanjburn...@gmail.com>
> wrote:
> > I'm having trouble changing my default shell path from ~/ to ~/Sites.
> >
> > I've added this to ~/.config/fish/config.fish
> >
> > if status --is-login
> > set PATH $PATH ~/Sites
> > end
> >
> > Any idea what I'm doing wrong?
> >
> > P.S. I'm running OS X 10.9.3 and fish 2.1.
> >
> >
> ------------------------------------------------------------------------------
> > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> > Find What Matters Most in Your Big Data with HPCC Systems
> > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> > http://p.sf.net/sfu/hpccsystems
> > _______________________________________________
> > Fish-users mailing list
> > Fish-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/fish-users
> >
> >
> >
> >
> > --
> >
> >
> >
> ------------------------------------------------------------------------------
> > HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
> > Find What Matters Most in Your Big Data with HPCC Systems
> > Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
> > Leverages Graph Analysis for Fast Processing & Easy Data Exploration
> >
> http://p.sf.net/sfu/hpccsystems_______________________________________________
> > Fish-users mailing list
> > Fish-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/fish-users
>
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users