kingToolbox / WindTerm

A professional cross-platform SSH/Sftp/Shell/Telnet/Serial terminal.
https://kingtoolbox.github.io
22.78k stars 1.76k forks source link

setting #2420

Open bmmpp opened 3 months ago

bmmpp commented 3 months ago
71398690ed10dd409ddf788ff19f4b0

when cd /folder/folder/folder, the full path will show, how to setting show target folder instead of full path ? e.g.

$root@Jan-pc:~# cd /usr/local/sbin $root@Jan-pc:/usr/local/sbin#

expected it show below: $root@Jan-pc: sbin#

if show full path it will longer and longer

qingsun-cltech commented 3 months ago

You should change your setting in file ".bashrc", find the line where PS1 is set and change "w" to "W" image