⚡ refacts bash/profile setup
This commit is contained in:
14
.bash/shell/complete-alias/tests/test_quotes_function.sh
Normal file
14
.bash/shell/complete-alias/tests/test_quotes_function.sh
Normal file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
## ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
## test quoted command in alias body; complete with function;
|
||||
##
|
||||
## . test_quotes_function.sh
|
||||
## test_quotes_function <tab>
|
||||
##
|
||||
## ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
|
||||
|
||||
complete -F _known_hosts '"/tmp/aaa bbb"'
|
||||
alias test_quotes_function='"/tmp/aaa bbb"'
|
||||
complete -F _complete_alias test_quotes_function
|
||||
|
||||
Reference in New Issue
Block a user