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