[mattermost]
user: <username>
host: <hostname>

# If the team setting is set, it must be the name of a team of which
# the user is a member. This is the team you'll automatically use when
# connecting and you'll bypass the team selection. If the setting is
# absent or isn't one of your teams, you'll be prompted for a choice of
# your teams.
#
# team: <team name>

port: 443

# You can also just use
# pass: password
# but this is much less secure than supplying a command
passcmd: security find-generic-password -s <password name> -w

# This optional setting controls how the client displays timestamps.
# If it's absent, you get the default behavior ("%R"). If it's present
# but empty, that turns timestamps off. Otherwise its value is used as
# the time format string.
#
# The format string is that accepted by 'formatTime':
# https://hackage.haskell.org/package/time-1.6.0.1/docs/Data-Time-Format.html#v:formatTime
#
# timeFormat: %R

[mattermost]
user: <username>
host: <hostname>

# If the team setting is set, it must be the name of a team of which
# the user is a member. This is the team you'll automatically use when
# connecting and you'll bypass the team selection. If the setting is
# absent or isn't one of your teams, you'll be prompted for a choice of
# your teams.
#
# team: <team name>

port: 443

# You can also just use
# pass: password
# but this is much less secure than supplying a command
#
# For OS X, the built-in security command works well:
passcmd: security find-generic-password -s <password name> -w
#
# On Linux, there are a number of options.  secret-tool is part of
# libsecret (in libsecret-tools on Ubuntu) and acts as a uniform
# interface to all password managers implementing the LibSecret D-Bus
# API (including kwallet and gnome-keyring).  Assuming that you have
# stored a password using
#
# $ secret-tool store --label='matterhorn' matterhorn password`
#
# You can then set:
#
# passcmd: secret-tool lookup matterhorn password

# This optional setting controls how the client displays timestamps.
# If it's absent, you get the default behavior ("%R"). If it's present
# but empty, that turns timestamps off. Otherwise its value is used as
# the time format string.
#
# The format string is that accepted by 'formatTime':
# https://hackage.haskell.org/package/time-1.6.0.1/docs/Data-Time-Format.html#v:formatTime
#
# timeFormat: %R

Add a sample passcmd for Linux
Add a sample passcmd for Linux
