We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我在zsh中写了一个命令do-scp直接scp拷贝的这个文件,比如: do-scp xxx 20; 运行这个命令直接拷贝到20设备了,在task.init中使用这个命令,报错,命令未定义,在终端中是可以的
The text was updated successfully, but these errors were encountered:
shell 的 $PATH 配置不一致啊,你之前写的是 interactive shell 的配置,但是命令行运行 shell 命令是不会加载 interactive shell 的配置的,你可以写全 ssh、do-scp 的路径,或者增加 non-interactive shell 的 $PATH 对应配置。
Sorry, something went wrong.
因为我这有好多设备,每次改ip的最后一位,所以就写了一个do-scp。 如果是ssh写的话,还是用asyncrun吧
No branches or pull requests
我在zsh中写了一个命令do-scp直接scp拷贝的这个文件,比如: do-scp xxx 20; 运行这个命令直接拷贝到20设备了,在task.init中使用这个命令,报错,命令未定义,在终端中是可以的
The text was updated successfully, but these errors were encountered: