Skip to content

Commit

Permalink
fixed lua warning, added java screen function
Browse files Browse the repository at this point in the history
  • Loading branch information
eagledb14 committed Dec 7, 2023
1 parent ccf9a33 commit 5a05f94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ vim.keymap.set('n', '<C-t>', ':lua ToggleTerminal()<Enter>', {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')
Expand Down

0 comments on commit 5a05f94

Please sign in to comment.