Open-sourced my dtools CLI
This commit is contained in:
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
if ! [[ -L "$HOME/.local/bin/dtools" ]]; then
|
||||
sudo ln -s "$PWD/dtools" "$HOME/.local/bin/dtools"
|
||||
fi
|
||||
|
||||
# shellcheck disable=SC2016
|
||||
if ! ( grep 'eval "$(dtools completions)"' ~/.bashrc > /dev/null 2>&1 ); then
|
||||
echo 'eval "$(dtools completions)"' >> ~/.bashrc
|
||||
fi
|
||||
Reference in New Issue
Block a user