Files
dotfiles/.bash/shell/complete-alias/tests/test_escape_option.sh
2026-04-21 11:19:45 +02:00

15 lines
434 B
Bash

#!/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