xgqfrms / git

git all in one
https://git.xgqfrms.xyz
MIT License
2 stars 1 forks source link

vscode & terminal long path bug #8

Open xgqfrms opened 4 years ago

xgqfrms commented 4 years ago

terminal long path bug

OK

image

Bad

image


OK

image

bad

image

xgqfrms commented 4 years ago

vscode terminal hidden long path

vscode 如何在 terminal 中显示较短的文件路径

https://stackoverflow.com/questions/52107170/hiding-the-full-file-path-in-a-powershell-command-prompt-in-vscode

https://juejin.im/post/5cb87c6e6fb9a068a03af93a#heading-56

https://segmentfault.com/q/1010000010337281

https://www.cnblogs.com/answercard/p/6125473.html

xgqfrms commented 4 years ago

mac hide current working directory in terminal

solution1

https://superuser.com/questions/1418005/how-to-hide-path-in-terminal-in-macos-high-sierra

export PS1="\u@\h \W\\$"

\u = username
\h = hostname
\W = current working directory

image

solution2

https://stackoverflow.com/questions/51202764/how-to-hide-path-name-on-terminal-with-mac

image

https://askubuntu.com/questions/16728/hide-current-working-directory-in-terminal

xgqfrms commented 4 years ago

vscode terminal hidden username hostname

image

xgqfrms commented 4 years ago

https://apple.stackexchange.com/questions/224149/show-username-on-mac-terminal-prompt

https://apple.stackexchange.com/questions/34910/how-to-hide-computer-name-and-user-name-in-terminal-command-prompt

https://stackoverflow.com/questions/46945825/how-to-hide-home-folder-name-from-integrated-vscodes-terminal

xgqfrms commented 4 years ago

MBP ok

image

https://github.com/microsoft/vscode/issues/87512

https://github.com/microsoft/vscode/issues/87519

xgqfrms commented 4 years ago

.vscode & terminal

???

{

    "terminal.integrated.shell.windows": "C:\\Windows\\System32\\cmd.exe",
}

https://github.com/xgqfrms/vscode/blob/master/.vscode/settings.json

image

xgqfrms commented 4 years ago

https://www.cnblogs.com/xgqfrms/protected/p/12076784.html

https://code.visualstudio.com/docs/editor/integrated-terminal

xgqfrms commented 4 years ago

https://developer.github.com/v4/

xgqfrms commented 4 years ago

https://help.apple.com/macos/mojave/mac-mini/?lang=en

xgqfrms commented 4 years ago

shit default bash

image

awsome zsh

image