This may be a stupid question... But how do i diff directories or files in nushell? #nushell #shell #linux

Follow

@taijidude hm depends a bit on what to diff. You can do (ls dirB) == (ls dirB). Other than that comparing the output with 'open'. But real diffing is not part of a shell. That goes to tool like 'git diff' or 'delta' etc.

Sign in to participate in the conversation
Librem Social

Librem Social is an opt-in public network. Messages are shared under Creative Commons BY-SA 4.0 license terms. Policy.

Stay safe. Please abide by our code of conduct.

(Source code)

image/svg+xml Librem Chat image/svg+xml