dotfiles

Obligatory dotfiles repo
git clone git://git.danielmoch.com/dotfiles.git
Log | Files | Refs

commit 5b4913ef722d434ddce084ed59e0ce6aa054f680
parent fba4b00b3ccf6b45f6691649df0cdea9f9387d26
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sun, 22 Sep 2019 06:48:07 -0400

shrc: Add proj function

Diffstat:
M.shrc | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/.shrc b/.shrc @@ -35,6 +35,13 @@ export PS1 num() { pr -tn "$1" | $PAGER } +proj() { + if [ -d "$HOME/Documents/src/$1" ] + then + cd "$HOME/Documents/src/$1" + [ -f .env ] && . ./.env + fi +} alias ll="ls -l" alias la="ls -A"