mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-10 20:05:50 +02:00
Automate alias target-file specification
This commit is contained in:
parent
02764558f5
commit
742c3c64d5
1 changed files with 7 additions and 3 deletions
10
README.md
10
README.md
|
@ -454,9 +454,13 @@ Call `lazygit` in your terminal, while inside a git repository.
|
|||
$ lazygit
|
||||
```
|
||||
|
||||
If you want, you can
|
||||
also add an alias for this with `echo "alias lg='lazygit'" >> ~/.zshrc` (or
|
||||
whichever rc file you're using).
|
||||
### Add ZSH/Bash Alias
|
||||
|
||||
Create a shortcut for lazygit by adding an alias to the shell configuration file.
|
||||
|
||||
```sh
|
||||
echo "alias lg='lazygit'" >> "$HOME/.$(basename $SHELL)rc"
|
||||
```
|
||||
|
||||
### Keybindings
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue