Answer the question
In order to leave comments, you need to log in
How to implement synchronization of paths of 2 terminals?
Often you have to launch 2 terminals with 1 and the same path, it takes time in each to reach the desired path (small but still), you want to either launch a new terminal with the same path, or ideally, the second terminal should go there when updating the path of the first one.
Sitting on i3 ready for experiments
Answer the question
In order to leave comments, you need to log in
1. Specify the task itself, since in practice it is usually not required to synchronize two terminals. Give a practical example of use.
2. As a simple bike, you can write two aliases, like:
alias savecd="echo cd $(pwd)>$HOME/bin/cdsync.sh"
alias loadcd=$HOME/bin/cdsync.sh
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question