Add code for starting ssh-agent to Bash config

Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
This commit is contained in:
PandaCoderPL 2021-11-11 01:16:41 +00:00
parent b97fc56be9
commit 065b420625
Signed by: PandaCoderPL
GPG Key ID: 101E7BD8DF5C987B
3 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [1.5.2] - 2021-11-11
### Added
- Code for starting ssh-agent to [Bash Config](home/.bashrc)
## [1.5.1] - 2021-11-11
### Added
- ProxyCommand to [SSH Config](home/.ssh/config)

View File

@ -1 +1 @@
1.5.1
1.5.2

View File

@ -1,6 +1,7 @@
# Tmux
if [[ -z "${TMUX}" ]]; then
if ! tmux has-session; then
eval $(ssh-agent)
tmux new-session
else
tmux new-window