bash-completion Questions
2
Solved
I have a issue with case sensitive directory listing in my bash. for example
$ touch nohupa nohuPb
$ ls nohup*
nohupa nohuPb
However I do expect it only list nohupa not nohuPb. because nohuP...
Hotspur asked 12/1, 2012 at 0:50
1
Solved
What I want is a function I can call from a program so it completes the way bash would given a commandline and a location where TAB was pressed.
. /etc/bash_completion
generate_completions "comman...
Metagalaxy asked 15/7, 2011 at 21:34
4
The code for git bash completion, specifically the function __gitcomp, uses parameter expansions like "${1-}". This appears to be similar to "$1". What is the difference?
Also: where is this docum...
Underfeed asked 17/4, 2011 at 11:43
2
Solved
at the bash prompt I can perform this copy
cp file.txt test1.txt
but if I try to copy file.txt to several files like so
cp file.txt test{2..4}.txt
I get error
cp: target `test4.txt' is no...
Mordecai asked 7/4, 2011 at 12:14
2
Solved
I'm taking a stab at writing a bash completion for the first time, and I'm a bit confused about about the two ways of dereferencing bash arrays (${array[@]} and ${array[*]}).
Here's the relevant ch...
Eadmund asked 27/7, 2010 at 22:10
© 2022 - 2024 — McMap. All rights reserved.