gpt4 book ai didi

fish - 如何创建一个在fish中执行 cd 和 ls 的函数?

转载 作者:行者123 更新时间:2023-12-04 07:37:27 26 4
gpt4 key购买 nike

关闭。这个问题不满足Stack Overflow guidelines .它目前不接受答案。












想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。

6年前关闭。




Improve this question




我已经发布了解决方案作为答案。

最佳答案

只需将其添加到您的 config.fish 文件中:

function cs
cd $argv
ls -ahl
end

关于fish - 如何创建一个在fish中执行 cd 和 ls 的函数?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25913548/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com