Create a file in your home and make it executable:
sudo vi ~/.local/bin/chrome
sudo chmod +x ~/.local/bin/chromeContent of the file :
| #!/usr/bin/env bash | |
| set -e | |
| git status --porcelain | ( | |
| unset action | |
| while read line; do | |
| case "${line//[[:space:]]/}" in | |
| 'UU'*) action='check' ;; | |
| 'M'*) action='check' ;; | |
| 'D'*) action='ignore' ;; |
| <template> | |
| <div class="row"> | |
| <div class="col-md-6 col-sm-6 col-xs-12"> | |
| <div class="info-box"> | |
| <span class="info-box-icon bg-green"><i class="fa fa-users"/></span> | |
| <div class="info-box-content"> | |
| <span class="info-box-text">Active users</span> | |
| <span class="info-box-number">{{ usersCount || 0 }}</span> | |
| </div> | |
| </div> |
Create a file in your home and make it executable:
sudo vi ~/.local/bin/chrome
sudo chmod +x ~/.local/bin/chromeContent of the file :