29 lines
592 B
Markdown
29 lines
592 B
Markdown
# shell-productivity
|
|
|
|
My zsh/bash productivity aliases / tools / scripts
|
|
|
|
## Installation
|
|
|
|
### Step 1
|
|
|
|
```bash
|
|
cd ~
|
|
git clone https://github.com/selimaj-dev/shell-productivity.git
|
|
```
|
|
|
|
### Step 2 (zsh)
|
|
|
|
Add this into your `.zshrc`
|
|
|
|
```bash
|
|
source ~/shell-productivity/rc.zsh
|
|
```
|
|
|
|
## Usage
|
|
|
|
- `gpr <branch>` - **git checkout -b <branch> && git push origin <branch> git branch -D <branch>**
|
|
- `ga` - **git add -A**
|
|
- `gp` - **git pull**
|
|
- `gc <message>` - **git commit -am <message>**
|
|
- `postpr` - **Done after a pull request is merged, switches to master and removes the pr branch and pulls**
|