We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afa8fe3 commit fd9ece6Copy full SHA for fd9ece6
1 file changed
Taskfile.yml
@@ -80,14 +80,17 @@ tasks:
80
deps:
81
- build
82
cmds:
83
- - cp ops $HOME/.local/bin
+ - mkdir -p $HOME/.local/bin
84
+ - cp -v ops $HOME/.local/bin
85
- |
86
if ! which ops | grep $HOME/.local/bin
87
then
88
echo "$HOME/.local/bin is not in the path - adding it"
89
echo 'export PATH="$HOME/.local/bin:$PATH"' >>$HOME/.bashrc
90
echo 'export PATH="$HOME/.local/bin:$PATH"' >>$HOME/.zshrc
- echo please restart your terminal to find ops in your path
91
+ echo to find ops in the path, please either source your .bashrc or .zshrc or restart your terminal
92
+ else
93
+ echo installed ops v$(ops -version)
94
fi
95
96
0 commit comments