Skip to content

Commit

Permalink
Fix BASH completion
Browse files Browse the repository at this point in the history
* add . command
* remove unused del command
  • Loading branch information
ericem committed Nov 17, 2015
1 parent e62571f commit bccb009
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions completions/bash/desk
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ _desk() {

case ${COMP_CWORD} in
1)
COMPREPLY=($(compgen -W "edit go help init list ls version" ${cur}))
COMPREPLY=($(compgen -W "edit . go help init list ls version" ${cur}))
;;
2)
case ${prev} in
edit|del|go)
edit|go|.)
if [[ -d $DESKS ]]; then
local desks=$(ls $DESKS/ | cut -d'.' -f1)
else
Expand Down

0 comments on commit bccb009

Please sign in to comment.