ambevar-dotfiles/.emacs.d/snippets/sh-mode/cmd

5 lines
75 B
Plaintext

# name: command -v ...
# key: cmd
# --
command -v $1 >/dev/null 2>&1 && $0