From ff880c9764739177c1434c9d6d294e1c2a1de11e Mon Sep 17 00:00:00 2001 From: Vaclav Uruba Date: Fri, 14 Oct 2022 02:33:10 +0200 Subject: [PATCH 1/2] add GPG_TTY variable --- zsh/.zprofile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh/.zprofile b/zsh/.zprofile index a095077..e66f0c6 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -3,6 +3,8 @@ path+=("${HOME}/.local/bin") path+=("$(go env GOPATH)/bin") export PATH +export GPG_TTY=$(tty) + source ~/.config/.env # source system specific environment variables if [[ -f ~/.config/.system.env ]]; then @@ -13,4 +15,4 @@ if [[ -f ~/.config/.nnn.env ]]; then source ~/.config/.nnn.env fi -source "$HOME/.cargo/env" +#source "$HOME/.cargo/env" From 102571e859410bdbabc00133c3f5e1fabf27912d Mon Sep 17 00:00:00 2001 From: Vaclav Uruba Date: Fri, 14 Oct 2022 02:33:51 +0200 Subject: [PATCH 2/2] update vim config --- vim/.vimrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vim/.vimrc b/vim/.vimrc index d0a983c..1c90fce 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -197,6 +197,8 @@ nnoremap :tabnext " Clipboard vmap "+y +set clipboard+=unnamedplus + " NERDTree autocmd StdinReadPre * let s:std_in=1 "autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif