Small fixes

This commit is contained in:
Marko Korhonen 2020-11-16 11:50:40 +02:00
parent 27ec1d658c
commit 75c9f951f0
3 changed files with 6 additions and 4 deletions

View file

@ -34,12 +34,10 @@ export DOTREPO="$HOME/Git/dotfiles"
export EDITOR=nvim export EDITOR=nvim
export PAGER="nvimpager -p" export PAGER="nvimpager -p"
{%@@ if profile == "Mirkwood" @@%}
# use gpg for ssh # use gpg for ssh
export GPG_TTY="$(tty)" export GPG_TTY="$(tty)"
export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh" export SSH_AUTH_SOCK="/run/user/$UID/gnupg/S.gpg-agent.ssh"
gpg-connect-agent updatestartuptty /bye > /dev/null gpg-connect-agent updatestartuptty /bye > /dev/null
{%@@ endif @@%}
# tehfuk # tehfuk
eval $(thefuck --alias) eval $(thefuck --alias)

View file

@ -43,5 +43,9 @@ zinit ice lucid atinit'zpcompinit'
zinit light zdharma/fast-syntax-highlighting zinit light zdharma/fast-syntax-highlighting
# use fzf with zsh # use fzf with zsh
{%@@ if profile == "mko-laptop" @@%}
source ~/.fzf.zsh
{%@@ else @@%}
source /usr/share/fzf/key-bindings.zsh source /usr/share/fzf/key-bindings.zsh
source /usr/share/fzf/completion.zsh source /usr/share/fzf/completion.zsh
{%@@ endif @@%}

View file

@ -19,7 +19,7 @@ Host aur
User aur User aur
host moria host moria
HostName reekynet.com HostName korhonen.cc
port 221 port 221
User balrog User balrog
ForwardAgent yes ForwardAgent yes
@ -31,7 +31,7 @@ host gondor
ForwardAgent yes ForwardAgent yes
host mirkwood host mirkwood
HostName reekynet.com HostName korhonen.cc
port 8123 port 8123
User reekymarko User reekymarko