分享一个 alias 小技巧
```bash
$ alias t="/path/to/takumi/node_modules/.bin/tsx /path/to/takumi/src/cli.ts"
$ t
```
记得在 nano ~/.zshrc 里面添加,然后重启source ~/.zshrc,不然就是当前 tab 生效
```bash
$ alias t="/path/to/takumi/node_modules/.bin/tsx /path/to/takumi/src/cli.ts"
$ t
```
记得在 nano ~/.zshrc 里面添加,然后重启source ~/.zshrc,不然就是当前 tab 生效
展开
评论
点赞