Skip to content
Ivan Krutov edited this page Jan 24, 2017 · 4 revisions

Perspective Shell stores all its configuration files in ~/.perspective directory (or ~/.config/perspective for pedantic Linux users). Configuration files include: ###~/.perspective/rc Main configuration file being read during shell startup. Typically this file contains a set of shell commands (one by line) that you can type directly in the shell:

set api_url = http://example.com/
set instance_suffixes = .vm.example.com

Although you can start instances or execute SQL queries in this file the main purpose is to assign values to settings and filters, e.g. set API URL, page size, table width, project name to filter by and so on. ###~/.perspective/perspective-history.log Stores history of previously typed commands.

// Perspective Shell log opened at 2016-03-28 11:15:27
set api_url = http://api.example.com:8080/
set instance_suffixes = .example.com
reboot test.example.com --hard
Clone this wiki locally