Hacker News new | ask | show | jobs
by howeyc 3673 days ago
Yes, the stars are missing, but not where you think. The --files option has a star on the inside of each quote. This makes the search only show history for the host you are on (I sync my Dotfiles between machines).

sift searches a path/folder so the star you have is not needed.

But yeah, HOSTNAME_SHORT is something I derive from HOSTNAME.

1 comments

Thanks for clarifying! Now I'm curious to hear more about how you sync your dotfiles ;-)
I sync my "$HOME/Sync" folder to pretty much every device I have. Android phone/tablet, Windows Laptop, FreeBSD Desktop, Linux VPS....

syncthing[0]/SyncTrazor[1]

[0] https://syncthing.net/

[1] https://github.com/canton7/SyncTrayzor#installation

Dropbox with a symlink also works fine though I have had it generate conflicts within .ssh folder which I also sync.