Commit Graph

2140 Commits (c3d9c46ef832f808c929a22b36c8ef6dd45cb98a)

Author SHA1 Message Date
Nils Winkler 6981fa091d Add tests for bash_it.sh script 2017-09-17 21:05:58 +02:00
Nils Winkler d798bb8f06 Change test prefixes to match file name 2017-09-17 21:05:58 +02:00
Nils Winkler e53b5dc96e Add some TODO items 2017-09-17 21:05:58 +02:00
Nils Winkler 9e99c8cb3d Adjust install test case 2017-09-17 21:05:57 +02:00
Nils Winkler 2a16a5cd68 Change install setup to use rsync instead of cp 2017-09-17 21:05:57 +02:00
Nils Winkler 9f3ef22538 Describe function supports new directory structure 2017-09-17 21:05:57 +02:00
Nils Winkler 9080f0e869 Add more tests for migration scenario 2017-09-17 21:05:57 +02:00
Nils Winkler 2b778ccbba Fix disable/migrate test case 2017-09-17 21:05:57 +02:00
Nils Winkler 591c8a67f3 Support both enabled formats during migration 2017-09-17 21:05:57 +02:00
Nils Winkler fd686cc2ae Fix one more path 2017-09-17 21:05:57 +02:00
Nils Winkler f72691fe85 Fix some more migration test cases 2017-09-17 21:05:57 +02:00
Nils Winkler 375515cc6e Use compgen -G instead of ls for finding enabled components
Reference: https://stackoverflow.com/a/34195247/1228454
2017-09-17 21:05:57 +02:00
Nils Winkler 7242cc0927 Fix glob expression for finding enabled components 2017-09-17 21:05:57 +02:00
Nils Winkler 2ac08cae0f Fix one migration case 2017-09-17 21:05:57 +02:00
Nils Winkler 6fa235a825 Start work on migration to global directory 2017-09-17 21:05:57 +02:00
Nils Winkler f892269aff Fix reload function to use the old and the new directory 2017-09-17 21:05:57 +02:00
Nils Winkler e705e6c60f Check for link target 2017-09-17 21:05:57 +02:00
Nils Winkler 5f3627b9b7 Change the enable/disable functions to use the global directory 2017-09-17 21:05:57 +02:00
Nils Winkler b106d275a7 Move enable/disable functionality to global enabled directory 2017-09-17 21:05:57 +02:00
Nils Winkler 2742adbeaa Merge pull request #709 from claui/fix-osx-subshell-prompt
Preserve `PROMPT_COMMAND` exportedness for subshells
2017-09-17 20:47:02 +02:00
Nils Winkler bfdd118f10 Merge pull request #1042 from monken/master
export.completion.bash
2017-09-17 20:32:42 +02:00
Moritz Onken dffddbb4a4 add nospace and = suffix 2017-09-15 23:42:03 -04:00
Moritz Onken e90787c78a Create export.completion.bash 2017-09-15 23:35:20 -04:00
pmoranga f65133ac11 Fix execution of trap DEBUG on subshells 2017-09-15 16:06:12 +02:00
Nils Winkler c4da957450 Merge pull request #1035 from rlanhe/recursive-load-out-of-place-custom-files
Recursive load of out of place custom config files
2017-09-15 07:59:35 +02:00
Rodrigo Lanza 3e60efd19d Recursive load of out of place custom config files 2017-09-14 22:50:52 +02:00
Nils Winkler 6382701a1f Merge pull request #1034 from Piterden/patch-1
Create pyrocms.aliases.bash
2017-09-14 08:55:53 +02:00
Nils Winkler 99a7c5f2e7 Merge pull request #1036 from rlanhe/go-to-parent-dir-misspelling
Common misspelling for going up one directory
2017-09-14 08:23:19 +02:00
Rodrigo Lanza 058de1d7c9 Common misspelling for going up one directory 2017-09-13 05:56:12 +02:00
Denis Efremov 80d592e305 Create pyrocms.aliases.bash 2017-09-12 01:27:06 +03:00
Nils Winkler 517d4b2ca4 Merge pull request #1029 from ops-guru/sshagent_osx
#1028 fix
2017-08-28 23:21:50 +02:00
Maxim Kovgan 36d3c66ccd - the latest OS X (10.12.6) has bash 3.2.57, yes :)
- '-v' used before is not available until bash 4.x

Signed-off-by: Maxim Kovgan <max@opsguru.io>
2017-08-26 22:49:59 +03:00
Nils Winkler acb98c34ca Merge pull request #1023 from icanhazstring/patch-3
Propose new alias for git branch deletion
2017-08-18 08:48:28 +02:00
Nils Winkler 1282f7fbae Merge pull request #1025 from yuwash/ruby-test-skip
skip ruby PATH test if ruby not installed
2017-08-18 08:43:10 +02:00
Nils Winkler 4dc54c3140 Merge pull request #1026 from yuwash/completion-suppress-ls-error
bash-it.completion suppress ls error when none found
2017-08-18 08:42:31 +02:00
Yushin Washio a4472fedaa skip ruby PATH test if ruby not installed 2017-08-17 17:33:56 +05:00
Yushin Washio d98a0038d3 bash-it.completion suppress ls error when none found 2017-08-17 17:08:58 +05:00
Andreas Frömer 3f2edd7ba8 Propose new alias for git branch deletion
This will add two new aliases for `git` to remove a branch.
There is an old alias `gdel` which is not named well because all "branch wise" aliases start with `gb`

So i added two new to delete the branch
`gbd` to remove fully merged branches with upstream
`gbD` to force remove a branch
2017-08-17 09:17:12 +02:00
Nils Winkler a6c91f15a0 Merge pull request #1017 from mvk/sshagent_plugin
reference implementation of #1016
2017-08-15 08:55:35 +02:00
Max Kovgan c04754fa0e added bash-it metadata to operational function
- per @nwinkler CR request

Signed-off-by: Max Kovgan <max@opsguru.io>
2017-08-14 14:52:39 +03:00
Max Kovgan ade87943e9 upd formatting post CR by @nwinkler
- indented from 4 space into 2
- cleared up a couple of tabs

Signed-off-by: Max Kovgan <max@opsguru.io>
2017-08-13 19:38:25 +03:00
Max Kovgan dce7b9b874 reference implementation of #1016
sshagent plugin:
- manage setup of sshagent in bash session:
  - force opinionated agent management based on ~/.ssh/ file
    - support for shared file systems on different host (file name contains hostname)
  - check env for any live/dead agents
    if alive - use it
    otherwise - spawn our own

Signed-off-by: Max Kovgan <max@opsguru.io>
2017-08-13 19:36:52 +03:00
Nils Winkler 79562ec3d8 Merge pull request #1014 from amno1/master
Added aliases for easier systemd use.
2017-08-13 17:39:32 +02:00
Nils Winkler 14f3ebbb7d Merge pull request #1013 from leventyalcin/feature/openshift-completion
Feature/openshift completion
2017-08-13 17:37:59 +02:00
Nils Winkler 54c456d56a Merge pull request #1012 from jayme/down4me-fix
added `-L` to curl options to avoid empty responses
2017-08-13 17:32:09 +02:00
memoryleakno1 43082a6cc5 Added aliases for easier systemd use. 2017-08-03 15:37:21 +02:00
Levent YALCIN a6fccf029c no need a var 2017-07-31 15:26:05 +01:00
Levent YALCIN 878180b2e2 tab completion support added for openshift 2017-07-31 15:23:34 +01:00
jayme 20a8f10102 added `-L` to curl options to avoid empty responses
- changed URL to non-www as well
2017-07-28 16:36:57 -04:00
Nils Winkler 702d923054 Merge pull request #1007 from wendorf/explicit-bash-version
Explicitly mention Bash 3.2 compatibility
2017-07-19 09:12:39 +02:00