main
Tran Hau 2020-05-18 12:14:45 +07:00
parent ffa81919d3
commit 9a6ec22f46
2 changed files with 2 additions and 10 deletions

View File

@ -5,14 +5,6 @@
| Archlinux | `git` | | Archlinux | `git` |
| Ubuntu | `git` | | Ubuntu | `git` |
Add to `~/.bashrc`:
```bash
[[ -f /usr/share/git/completion/git-prompt.sh ]] && \
source /usr/share/git/completion/git-prompt.sh
PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
```
Save usernames and passwords in `~/.git-credentials`: Save usernames and passwords in `~/.git-credentials`:
```sh ```sh

View File

@ -2,8 +2,8 @@
| distribution | package | | distribution | package |
| ------------ | ------- | | ------------ | ------- |
| archlinux | `tmux` | | Archlinux | `tmux` |
| ubuntu | `tmux` | | Ubuntu | `tmux` |
Imagine you want to run a long task in terminal, but you don't want to keep terminal open. Imagine you want to run a long task in terminal, but you don't want to keep terminal open.