diff --git a/.bashrc b/.bashrc index 3761e37..11949b0 100644 --- a/.bashrc +++ b/.bashrc @@ -9,13 +9,14 @@ [[ $- != *i* ]] source ~/.local/share/blesh/ble.sh -# export SSH_AUTH_SOCK=$(pgrep -u $USER -x ssh-agent -o) - export PS1="\[$(tput bold)\]\[\033[38;5;129m\]\u\[$(tput sgr0)\]@\h \[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;129m\]\W\[$(tput sgr0)\] \$(git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/')> \[$(tput sgr0)\]" # new paths export PATH=/home/eagledb14/.cargo/bin:$PATH +# new env +export _JAVA_AWT_WM_NONREPARENTING=1 + #vim keys set -o vi diff --git a/nvim/init.lua b/nvim/init.lua index 24757bb..19cc30f 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -269,7 +269,7 @@ vim.keymap.set('n', '', ':lua ToggleTerminal()', {noremap = true, si -- toggle terminal functions function ToggleTerminal() - local ok, _ = pcall(vim.cmd, 'bd! term') + local ok, _ = pcall(function() vim.cmd('bd! term') end) if not ok then vim.cmd('vsplit') vim.cmd('term')