Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

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