Nils Winkler
|
475b0778dd
|
Fixed a couple of shellcheck complaints
|
2017-09-17 21:05:58 +02:00 |
Nils Winkler
|
88ef16ccc7
|
Fixed migration order on macOS
|
2017-09-17 21:05:58 +02:00 |
Nils Winkler
|
6e34d4f837
|
Simplified disable all
|
2017-09-17 21:05:58 +02:00 |
Nils Winkler
|
653437e2e1
|
Some more tests for disable all
|
2017-09-17 21:05:58 +02:00 |
Nils Winkler
|
1810eddaf3
|
Using compgen instead of globw
|
2017-09-17 21:05:58 +02:00 |
Nils Winkler
|
729f21c106
|
Reading bash-it help lists aliases from global enabled directory
|
2017-09-17 21:05:58 +02:00 |
Nils Winkler
|
c26476f56e
|
Fixed bash-it help aliases for todo.txt-cli
|
2017-09-17 21:05:58 +02:00 |
Nils Winkler
|
e0554cb512
|
Test cases and fix for bash-it help aliases foo
|
2017-09-17 21:05:58 +02:00 |
Nils Winkler
|
4cda9c0a43
|
Started work on bash-it help aliases
|
2017-09-17 21:05:58 +02:00 |
Nils Winkler
|
5ff873e058
|
Fixed "bash-it help aliases" cases, more to come...
|
2017-09-17 21:05:58 +02:00 |
Nils Winkler
|
757d2b4ed9
|
Removed unused variable
|
2017-09-17 21:05:58 +02:00 |
Nils Winkler
|
4caed3d6d5
|
Ignoring files in global enabled directory
|
2017-09-17 21:05:58 +02:00 |
Nils Winkler
|
c786c14859
|
Fixed "bash-it help aliases" completion - it will now show the available aliases
|
2017-09-17 21:05:58 +02:00 |
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 |