Nils Winkler
22674ce1e0
Replaced -e glob-based implementation with ls
2017-09-17 21:05:58 +02:00
Nils Winkler
a925f5d58c
Checking for global directory when looking for components that are not enabled
2017-09-17 21:05:58 +02:00
Nils Winkler
752d4afe41
Tabs to spaces
2017-09-17 21:05:58 +02:00
Nils Winkler
7a3603f80d
Sorting compgen output so that the returned values are in ascending order
2017-09-17 21:05:58 +02:00
Nils Winkler
e7298a5303
Fixed case where nothing was enabled
2017-09-17 21:05:58 +02:00
Nils Winkler
adb2f1071f
Added tests for completion results with various file locations and names
2017-09-17 21:05:58 +02:00
Nils Winkler
b31c7a0afa
Refactored completion check into a reusable function
2017-09-17 21:05:58 +02:00
Nils Winkler
3e9c5655b1
Added xargs fix to some more wc -l invocations
...
Calling `xargs` removes any leading whitespace, which is introduced by
the macOS version of `wc`. See
https://stackoverflow.com/a/12973694/1228454 for more info.
2017-09-17 21:05:58 +02:00
Nils Winkler
a4c6a1aaed
Added first tests for Bash-it completion script
2017-09-17 21:05:58 +02:00
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
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