File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ _goblint ()
2525 IFS=$' \n '
2626 local words cword cur
2727 _get_comp_words_by_ref -n = cur words cword # Bypass = in COMP_WORDBREAKS (https://stackoverflow.com/a/57437406/854540)
28- COMPREPLY=($( ${words[0]} --complete " ${words[@]: 1: cword} " ) )
28+ COMPREPLY=($( ${words[0]/# \~ / $HOME } --complete " ${words[@]: 1: cword} " ) )
2929 __ltrim_equal_completions " $cur " # Bypass = in COMP_WORDBREAKS (https://stackoverflow.com/a/57437406/854540)
3030}
3131
@@ -45,7 +45,7 @@ _regtest ()
4545 * )
4646 local words cword cur
4747 _get_comp_words_by_ref -n = cur words cword # Bypass = in COMP_WORDBREAKS (https://stackoverflow.com/a/57437406/854540)
48- COMPREPLY=($( $( dirname ${words[0]} ) /goblint --complete " ${words[@]: 3: cword} " ) )
48+ COMPREPLY=($( $( dirname ${words[0]/# \~ / $HOME } ) /goblint --complete " ${words[@]: 3: cword} " ) )
4949 __ltrim_equal_completions " $cur " # Bypass = in COMP_WORDBREAKS (https://stackoverflow.com/a/57437406/854540)
5050 ;;
5151 esac
You can’t perform that action at this time.
0 commit comments