Protect command from unwanted args

This commit is contained in:
Jeremy Gardais 2019-10-21 13:25:13 +02:00
parent b216b460d4
commit d028c01296
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

2
zshenv
View File

@ -93,5 +93,5 @@ fi
# Tmux
if [ $(command -v tmux) ]; then
export TMUX_TMPDIR=~/.tmux/socks/
[ ! -d "${TMUX_TMPDIR}" ] && mkdir -p "${TMUX_TMPDIR}" || chmod 0700 "${TMUX_TMPDIR}"
[ ! -d "${TMUX_TMPDIR}" ] && mkdir -p -- "${TMUX_TMPDIR}" || chmod 0700 -- "${TMUX_TMPDIR}"
fi