repo restructurize
This commit is contained in:
parent
4f8bd70ca4
commit
72c9f2da19
9 changed files with 10 additions and 1857 deletions
22
toolbox.zsh
Executable file
22
toolbox.zsh
Executable file
|
@ -0,0 +1,22 @@
|
|||
#!/bin/zsh
|
||||
# variables
|
||||
toolbox_on="The following tools are installed:
|
||||
"
|
||||
toolbox_off="The following tools are NOT installed:
|
||||
"
|
||||
# various tools/cmdlets to check for
|
||||
tools=("nvim" "tmux" "git" "zoxide" "docker" "fzf" "distrobox")
|
||||
|
||||
for tool in "$tools[@]" do
|
||||
if command -v "$tool" >/dev/null 2>&1; then
|
||||
toolbox_on="$toolbox_on
|
||||
$tool"
|
||||
else
|
||||
toolbox_off="$toolbox_off
|
||||
$tool"
|
||||
fi
|
||||
done
|
||||
|
||||
TOOLBOX="$toolbox_on
|
||||
|
||||
$toolbox_off"
|
Loading…
Add table
Add a link
Reference in a new issue