c8fa77b0f6
Add configurable aliases to the pasta client. Aliases for remote instances can be put into the ~/.pasta.toml file and defined via the remote program parameter.
18 lines
508 B
Plaintext
18 lines
508 B
Plaintext
# Keep in mind to escape string. This is TOML not an ini file!
|
|
# Place this file in ~/.pasta.toml
|
|
|
|
RemoteHost = "http://localhost:8199"
|
|
|
|
# Example for a remote with one alias
|
|
# aliases can be given to `pasta` as a remote argument and will be
|
|
# completed to the given url
|
|
[[Remote]]
|
|
url = "http://localhost:8199"
|
|
alias = "localhost"
|
|
|
|
# Example of a remote with multiple aliases
|
|
[[Remote]]
|
|
url = ""http://localhost:8200"
|
|
alias = "localhost2" # one alias
|
|
aliases = ["local2", "loc2"] # more aliases
|