iterm2-shell-integration-bash
iTerm2 Shell Integration
License: GPLv2
https://iterm2.com/documentation-shell-integration.html
Description
iTerm2 may be integrated with the unix shell so that it can keep track of your command history, current working directory, host name, and moreāeven over ssh. This enables several useful features.
Compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.
Install
CentOS/RHEL 9
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install iterm2-shell-integration-bash
CentOS/RHEL 8
sudo dnf -y install https://extras.getpagespeed.com/release-latest.rpm sudo dnf -y install iterm2-shell-integration-bash
CentOS/RHEL 7
sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm sudo yum -y install iterm2-shell-integration-bash