ssh-agent and tmux shortcuts
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# bind tmux cmds to ctrl+a
|
# bind tmux cmds to ctrl+a
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix C-z
|
set -g prefix C-s
|
||||||
|
|
||||||
# activity monitoring
|
# activity monitoring
|
||||||
setw -g monitor-activity on
|
setw -g monitor-activity on
|
||||||
|
|||||||
@@ -141,6 +141,9 @@ for f in ~/.zsh.d/*.zsh; do
|
|||||||
source "$f"
|
source "$f"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [[ $(pidof ssh-agent |wc -w) == 0 ]]; then
|
||||||
|
ssh-agent -s > ~/.ssh/agent
|
||||||
|
fi
|
||||||
eval "$(<~/.ssh/agent)"
|
eval "$(<~/.ssh/agent)"
|
||||||
# The next line updates PATH for the Google Cloud SDK.
|
# The next line updates PATH for the Google Cloud SDK.
|
||||||
if [ -f /opt/google-cloud-sdk/path.zsh.inc ]; then
|
if [ -f /opt/google-cloud-sdk/path.zsh.inc ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user