Add code for starting ssh-agent to Bash config
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
This commit is contained in:
parent
b97fc56be9
commit
065b420625
|
@ -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/),
|
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).
|
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
|
## [1.5.1] - 2021-11-11
|
||||||
### Added
|
### Added
|
||||||
- ProxyCommand to [SSH Config](home/.ssh/config)
|
- ProxyCommand to [SSH Config](home/.ssh/config)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Tmux
|
# Tmux
|
||||||
if [[ -z "${TMUX}" ]]; then
|
if [[ -z "${TMUX}" ]]; then
|
||||||
if ! tmux has-session; then
|
if ! tmux has-session; then
|
||||||
|
eval $(ssh-agent)
|
||||||
tmux new-session
|
tmux new-session
|
||||||
else
|
else
|
||||||
tmux new-window
|
tmux new-window
|
||||||
|
|
Loading…
Reference in New Issue