n07-tg
Last Updated: February 25, 2016
·
587
· jesusaurus
8b13e08e2eb0886384acfb8b46a90963

A Proper Homedir

#!/bin/zsh
mkdir -p $HOME/local/{bin,etc,include,lib,src,tmp}
export $PATH=$PATH:$HOME/local/bin
export $PKG_CONFIG_PATH=$PKG_CONFIG_PATH:$HOME/lib/pkgconfig
(cd $HOME/local/etc && git init) #link ~/.profile and such here

Do your development in $HOME/local/src and install with a prefix of $HOME/local.

Say Thanks
Respond