duncs / clusterssh

Cluster SSH - Cluster Admin Via SSH
https://github.com/duncs/clusterssh/wiki
896 stars 79 forks source link

Consider adding XDG Base Directory support #62

Open mperry2 opened 8 years ago

mperry2 commented 8 years ago

It would be nice if support was added for the XDG_CONFIG_HOME location as defined in the XDG Base Directory Specification which should default to $HOME/.config/ if not set.

Basically, the program should be looking for $XDG_CONFIG_HOME/clusterssh/ before looking for ~/.clusterssh/ (or not looking for this file at all).

The File::BaseDir module can help with this.