Skip to content

Commit

Permalink
Merge pull request #1159 from juboba/feature/fixTempFileTemplate
Browse files Browse the repository at this point in the history
Change template for temp file creation
  • Loading branch information
nwinkler committed Mar 8, 2018
2 parents a510cd0 + 137b700 commit 2efe70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/available/alias-completion.plugin.bash
Expand Up @@ -29,7 +29,7 @@ function alias_completion {
(( ${#completions[@]} == 0 )) && return 0

# create temporary file for wrapper functions and completions
local tmp_file; tmp_file="$(mktemp -t "${namespace}-${RANDOM}XXX.tmp")" || return 1
local tmp_file; tmp_file="$(mktemp -t "${namespace}-${RANDOM}XXXXXX")" || return 1

local completion_loader; completion_loader="$(complete -p -D 2>/dev/null | sed -Ene 's/.* -F ([^ ]*).*/\1/p')"

Expand Down

0 comments on commit 2efe70b

Please sign in to comment.