4 ms·
~/src/projectname/ for things I've written, patched, or am contributing to. ~/build/projectname/ for things I've downloaded/cloned for reading or compiling. I
by synack 2y ago
~/src/projectname/ for things I've written, patched, or am contributing to.
~/build/projectname/ for things I've downloaded/cloned for reading or compiling.
I generally consider ~/build/ to be ephemeral and it gets deleted whenever I build a new PC or start running out of disk space.
~/src/* gets moved to ~/src.old/ roughly once every five years, just to keep things fresh. Both are still backed up.
- llmblockchain 2y agoInteresting, I came to a similar structure. ~/.src/my # my stuff ~/.src/oss # things I've downloaded, built from source, etc. I have a bash alias 'ws' that 'cd ~/.src' so most of my movement is like: 'cd my/gamedev/pong' or 'cd oss/helix', etc.
- fragmede 2y agowhy a hidden folder?
- llmblockchain 2y agoAesthetic. When you `ls` $HOME or open a Finder it's a lot nicer when things match (Documents, Videos, etc). It's weird to see that one random folder (src). I know typing a dot is annoying, hence the Bash alias.