1 2
" Set tmp-file default type to `sh` (used when editing command line) autocmd BufNewFile,BufRead /tmp/[a-zA-Z0-9]\+/ setlocal ft=sh