Commit Graph

1990 Commits (c221648a7ffb80da5eafb51a2d734357498c0f33)

Author SHA1 Message Date
Nils Winkler 298b9c6455 Added test case for completion "help aliases v" 2017-09-17 21:05:58 +02:00
Nils Winkler e0dc7997c8 Fixed handling of components with dashes or dots in the name for completion 2017-09-17 21:05:58 +02:00
Nils Winkler 688d0cb540 Some more test cases 2017-09-17 21:05:58 +02:00
Nils Winkler 05696df361 Additional test cases for completions with dashes and dots 2017-09-17 21:05:58 +02:00
Nils Winkler ec327486ef Checking global directory for completions as well 2017-09-17 21:05:58 +02:00
Nils Winkler 607c9cd049 Cleaned up declarations 2017-09-17 21:05:58 +02:00
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
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