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
f3455d3f86
|
@ -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)
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
# Tmux
|
||||
if [[ -z "${TMUX}" ]]; then
|
||||
if ! tmux has-session; then
|
||||
eval $(ssh-agent)
|
||||
tmux new-session
|
||||
else
|
||||
tmux new-window
|
||||
|
|
Loading…
Reference in New Issue