Fork me on GitHub
#off-topic
<
2019-01-18
>
dangercoder14:01:08

Is it possible to use git diff /path/to/directory? I tried it on macOSX from the terminal but it just says "Not a git directory". If I cd into the directory it's fine.

Alex Miller (Clojure team)14:01:21

there’s a property you can set for the git dir to use

Alex Miller (Clojure team)14:01:16

that points to the .git dir, and also there’s --work-tree=

Alex Miller (Clojure team)14:01:11

with some combination of those, you can use git commands from other directories

dangercoder14:01:35

Thank you @alexmiller works now, time to create a tool for analyzing some dependencies .. 😄

markmarkmark14:01:52

you can use git -C /path/to/directory to make git act as if it was started in that directory

👍 15
Lennart Buit21:01:55

MacOS: how do I show dotfiles in finder, I broke my .zshrc and now I can’t edit it anymore in zsh…

Lennart Buit21:01:24

Ah fixed it, breaking your shell is no fun…

theeternalpulse23:01:15

Any suggestions on a good distro for my new laptop, I am used to ubuntu, but want one that has a good balance of a decent ui and not too much setup required. I spend most of my time in a console/browser/emacs anyway.

WhoNeedszZz22:01:56

If you are comfortable in a shell then I highly recommend Arch Linux. It allows a ton of configuration, but doesn't force you to manually go through it like the hardcore distros of yore. The AUR is indispensable.

dpsutton23:01:07

i've been very happy with fedora. it is wayland based so sometimes have an issue with sharing entire desktop in video but otherwise it is rock solid, easy, and fresh

👀 5
Conor23:01:25

I installed Pop OS recently, it was fairly painless

✔️ 5
Conor23:01:24

The only bits I had to fiddle with were enabling TRIM on LUKS and making it sleep properly