From 75c9f951f07a71b1766a4a333f7d6c93154995b7 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Mon, 16 Nov 2020 11:50:40 +0200 Subject: [PATCH] Small fixes --- home/.config/zsh/01-env.zsh | 2 -- home/.config/zsh/02-plugins.zsh | 4 ++++ home/.ssh/config | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/home/.config/zsh/01-env.zsh b/home/.config/zsh/01-env.zsh index f907744..6bb9c62 100644 --- a/home/.config/zsh/01-env.zsh +++ b/home/.config/zsh/01-env.zsh @@ -34,12 +34,10 @@ export DOTREPO="$HOME/Git/dotfiles" export EDITOR=nvim export PAGER="nvimpager -p" -{%@@ if profile == "Mirkwood" @@%} # use gpg for ssh export GPG_TTY="$(tty)" export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh" gpg-connect-agent updatestartuptty /bye > /dev/null -{%@@ endif @@%} # tehfuk eval $(thefuck --alias) diff --git a/home/.config/zsh/02-plugins.zsh b/home/.config/zsh/02-plugins.zsh index 94efc2a..26b690b 100644 --- a/home/.config/zsh/02-plugins.zsh +++ b/home/.config/zsh/02-plugins.zsh @@ -43,5 +43,9 @@ zinit ice lucid atinit'zpcompinit' zinit light zdharma/fast-syntax-highlighting # use fzf with zsh +{%@@ if profile == "mko-laptop" @@%} +source ~/.fzf.zsh +{%@@ else @@%} source /usr/share/fzf/key-bindings.zsh source /usr/share/fzf/completion.zsh +{%@@ endif @@%} diff --git a/home/.ssh/config b/home/.ssh/config index fde5afe..7630876 100644 --- a/home/.ssh/config +++ b/home/.ssh/config @@ -19,7 +19,7 @@ Host aur User aur host moria - HostName reekynet.com + HostName korhonen.cc port 221 User balrog ForwardAgent yes @@ -31,7 +31,7 @@ host gondor ForwardAgent yes host mirkwood - HostName reekynet.com + HostName korhonen.cc port 8123 User reekymarko