有没有办法在Cygwin中键入命令时隐藏当前目录
Is there a way to hide the current directory while typing commands in Cygwin
每次写命令都要显示路径有点烦人。有没有办法让它在我按 enter 执行命令时只显示 $ 符号?
当然可以,设置您的 PS1 环境变量。参见 http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html
每次写命令都要显示路径有点烦人。有没有办法让它在我按 enter 执行命令时只显示 $ 符号?
当然可以,设置您的 PS1 环境变量。参见 http://www.cyberciti.biz/tips/howto-linux-unix-bash-shell-setup-prompt.html