diff --git a/install.bash b/install.bash index 28cac40..fae0bef 100755 --- a/install.bash +++ b/install.bash @@ -1,5 +1,11 @@ #!/usr/bin/env bash +# Check 'column' dependency +if ! command -v column &> /dev/null; then + echo "Command 'column' not available on the system, please make sure all dependencies are fulfilled." + exit 1 +fi + # Adds $1 to ~/.bashrc if not already present function _add_to_config { if ! grep "$1" ~/.bashrc > /dev/null; then diff --git a/install.zsh b/install.zsh index 4b0e5e1..507b9fc 100755 --- a/install.zsh +++ b/install.zsh @@ -1,5 +1,11 @@ #!/usr/bin/env zsh +# Check 'column' dependency +if ! command -v column &> /dev/null; then + echo "Command 'column' not available on the system, please make sure all dependencies are fulfilled." + exit 1 +fi + # Adds $1 to ~/.zshrc if not already present function _add_to_config { if ! grep "$1" ~/.zshrc > /dev/null; then