15
rated 0 times
[
15]
[
0]
/ answers: 1 / hits: 8184
/ 2 Years ago, thu, june 2, 2022, 2:49:33
I am editing multiple files located in the same folder, in multiple tabs, on a single terminal.
pwd
(directory in which I am currently working) is displayed on the top of the heading of the terminal, but not the name of the file I am editing. It gets confusing when working with multiple files in the same directory.
How to display the name of the current file on the top of the terminal in addition to the pwd
.
I am running vim
in a bash shell in gnome-terminal
, on 12.04 LTS.
More From » command-line