I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
Nice. I'm not a fan of these things myself, because I'm generally not big on character-saving aliases, and I almost never do the things people think are common (like immediately changing to a directory you just created).
I was interested in changing to a directory relative to the project root though, and I put this in my shell startup script:
Often time I use g cd without any argument and couple of weeks ago I started to use CDPATH (available in both zsh and bash):
I can specify regularly used repositories and then jump to their git root from anywhere! so right now i rarely type g cd at all and just type cd project (or simply project with zsh) :)
(edit: wording)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice. I'm not a fan of these things myself, because I'm generally not big on character-saving aliases, and I almost never do the things people think are common (like immediately changing to a directory you just created).
I was interested in changing to a directory relative to the project root though, and I put this in my shell startup script:
You know what, though? I almost never use it!
I know what you talking about :)
Often time I use
g cd
without any argument and couple of weeks ago I started to use CDPATH (available in both zsh and bash):I can specify regularly used repositories and then jump to their git root from anywhere! so right now i rarely type
g cd
at all and just typecd project
(or simplyproject
with zsh) :)(edit: wording)