summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2012-10-17 13:35:01 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2012-10-17 13:35:01 +0200
commit019129977ea279851386528be8a76ee33ff8392b (patch)
treeb8d8ef905e022cea173fd8b0a944e44e0e63ab20
parentc5401a6d595a595ee16ee6aede55fb016b9cfdfd (diff)
downloadapp.sh-019129977ea279851386528be8a76ee33ff8392b.tar.gz
app.sh-019129977ea279851386528be8a76ee33ff8392b.tar.bz2
app.sh-019129977ea279851386528be8a76ee33ff8392b.tar.xz
app.sh-019129977ea279851386528be8a76ee33ff8392b.zip
o Less insane completion.
-rw-r--r--app_completion4
1 files changed, 2 insertions, 2 deletions
diff --git a/app_completion b/app_completion
index fd25f66..4e62bbc 100644
--- a/app_completion
+++ b/app_completion
@@ -89,7 +89,7 @@ _complete_appsh() {
return
;;
-u)
- COMPREPLY=($(compgen -f -- ${cur}))
+ COMPREPLY=($(compgen -o filenames -f -- ${cur}))
return
;;
esac
@@ -120,4 +120,4 @@ _complete_appsh() {
set +x
}
-complete -d -F _complete_appsh app
+complete -F _complete_appsh app