Add timeout to SSH agent in Bash config
Signed-off-by: PandaCoderPL <git@pandacoderpl.anonaddy.me>
This commit is contained in:
parent
9778c6c2d4
commit
c50f672f75
|
@ -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.7.5] - 2021-11-22
|
||||
### Added
|
||||
- Timeout to SSH agent in [Bash Config](home/.bashrc)
|
||||
|
||||
## [1.7.4] - 2021-11-22
|
||||
### Added
|
||||
- Proxy for Lokinet to [SSH Config](home/.ssh/config)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Tmux
|
||||
if [[ -z "${TMUX}" ]]; then
|
||||
if ! tmux has-session; then
|
||||
eval $(ssh-agent)
|
||||
eval $(ssh-agent -st 1h)
|
||||
tmux new-session -n calculator bc -iq
|
||||
else
|
||||
tmux new-window
|
||||
|
|
Loading…
Reference in New Issue