* feature/pre-commit-hook: (186 commits)
added git alias to list remote branch creators with date and time
Add Kind support
Fix the commandline for gifski
Add Terraform and Terragrunt aliases
lib: helpers: Handle stable revert update
lib: helpers: Rename Upgrading -> Updating
lib: Fetch from remote before calculating latest tag in bash-it update
test: Add completion test for -s --silent flag
completion: Add --silent and -s completion
doc: Add --silent flag documentation
helpers: Add --slient option to bash-it update
lib: Update no-op message in case of stable update
lib: Add BASH_IT_DEVELOPMENT_BRANCH variable
lib: Update to stable now correctly fails if no tags are present
doc: Add stable/dev option to update section
completion: Update completion for new bash-it update
lib: Improve bash-it update so it can update to latest tag
alias: git: Add new pretty git log alias (ggf)
alias: git: Add git pull / git push --force aliases
Add bash-it restart command
...
This patch adds very simple support for the Perforce SCM:
https://www.perforce.com/
Although perforce is proprietary software, it's somewhat prevalent in enterprise
companies. This patch looks to provide some basic bash_it functionality that
I've come to love for git. I base everything off of two perforce commands:
$ p4 set
This command does not require a connection the perforce server, it simply tells
us if a directory is managed by the Perforce SCM or not. In addition the
command:
$ p4 opened
is used to provide the list of pending changes in the client and the number of
opened files in the client. The `p4 opened` command requires a connection to the
perforce server, hence it's run under a `timeout` command. The "p4 opened"
processing into it's own bash file that now has to be sourced at the top-level
bash-it.sh. Since the processing in simple the newly added: _p4-opened-counts
function returns a number of things that are not currently used, but since I had
awk open and doing the processing, I've chosen to include them in the output
anyway.
Testing:
- Tested with the powerline-multiline theme in a few perforce based
workspaces/clients
- Ran:
❯ shellcheck themes/p4helpers.theme.bash
and fixed all the errors
- Ran the test suite:
❯ test/run
[...]
182 tests, 0 failures, 1 skipped
redline:
- added redline features to powerline
- added screenshot
- updated redline readme
- bugfix: resetting foreground color when distro logo is enabled
- fixed redline default element ordering
powerline:
- neater check for cached sudo
- started adding support for custom cwd separator glyph and color
bash-it:
- added sublime text to .gitignore