Skip to content

Commit

Permalink
readme: warn before aliasing
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc authored Mar 30, 2020
1 parent da7485d commit 9294018
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,19 @@ fpath=(/path/to/script_directory $fpath)

# Aliasing

Like hub, lab feels best when aliased as `git`. In your `.bashrc` or `.bash_profile`
Like hub, lab feels best when aliased as `git`. In your `.bashrc` or `.bash_profile`:

```
alias git=lab
```

NOTE: before aliasing, if you use git in your shell prompt command, be sure lab works by it's own first:

```
$ lab
Enter GitLab host (default: https://gitlab.com):
```

<p align="center"><img src="https://user-images.githubusercontent.com/2358914/34196973-420d389a-e519-11e7-92e6-3a1486d6b280.png" align="center"></p>

<p xmlns:dct="http://purl.org/dc/terms/">
Expand Down

0 comments on commit 9294018

Please sign in to comment.