Skip to content

Commit db1c9e2

Browse files
authored
Update README.md
1 parent d6e4b0a commit db1c9e2

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,13 @@ sudo apt-get install -y postgresql-client-10
3434
Using alternative psql pager called "pspg" is highly recommended (but not required): https://github.com/okbob/pspg.
3535

3636
## Installation
37-
Clone, go to the directory and run psql (version 10 is required):
37+
The installation is trivial. Clone the repository and put "dba" alias to your `.psqlrc` file:
3838
```bash
3939
git clone https://github.com/NikolayS/postgres_dba.git
40+
echo "\set dba '\\\\i `pwd`/postgres_dba/start.psql'" >> ~/.psqlrc
4041
```
4142

42-
For convenience, add this shortcut to your `~/.psqlrc` file:
43-
```
44-
\set dba '\\i /path/to/postgres_dba/start.psql'
45-
```
46-
47-
That's it. Nothing is really needed to be installed.
43+
That's it.
4844

4945
## Usage
5046

0 commit comments

Comments
 (0)