Skip to content

use config file ~/.config/lssh/lssh.conf if exists, allow -f for lssh config path#65

Open
miconda wants to merge 4 commits intoblacknon:masterfrom
miconda:master
Open

use config file ~/.config/lssh/lssh.conf if exists, allow -f for lssh config path#65
miconda wants to merge 4 commits intoblacknon:masterfrom
miconda:master

Conversation

@miconda
Copy link

@miconda miconda commented Sep 14, 2020

Hopping both commits are considered useful to be merged. The first one is about the default path to configuration file, and the second is to have more coherence on command line options across lssh, lscp and lsftp, -f being also easier to type by avoiding pressing SHIFT for uppercase.

commit fcbe196: use ~/.config/lssh/lssh.conf as default config if exists

- many distros adhere XDG Base Directory Specification
- see: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
- if this file does not exist, then ~/.lssh.conf is considered default config


commit ef189bc: allow -f to be used for lssh to specify config file path

- be more coherent with lscp and lsftp
- -F kept for backward compatibility

- many distros adhere XDG Base Directory Specification
- see: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
- if this file does not exist, then ~/.lssh.conf is considered default
config
- be more coherent with lscp and lsftp
- -F kept for backward compatibility
- simple variant to allow users to introduce the password per server
profile
- e.g: pass = "ask"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant