From 2bb164a7ce218a28cec09c152ca89aeda716fb1e Mon Sep 17 00:00:00 2001 From: Gabe Venberg Date: Tue, 13 Apr 2021 10:13:07 -0500 Subject: [PATCH] both-shift-for-caps-lock was causing issues with some games, and I didnt use it anyway... I also did a silly with the difference with file and directory tests. --- x11/.xinitrc | 2 +- zsh/.zshrc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x11/.xinitrc b/x11/.xinitrc index c14f129..639b789 100644 --- a/x11/.xinitrc +++ b/x11/.xinitrc @@ -1,5 +1,5 @@ #remap caps lock to a third control key. both shifts at once toggle shiftlock -setxkbmap -option ctrl:nocaps,shift:both_capslock +setxkbmap -option ctrl:nocaps xrdb -merge ~/.Xresources #~/dotfiles/scripts/mousestart i3 diff --git a/zsh/.zshrc b/zsh/.zshrc index 7b22d4e..2719feb 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -17,9 +17,9 @@ (($+command[ruby])) && export PATH="$PATH:$(ruby -e 'puts Gem.user_dir' 2> /dev/null)/bin" #test that these nonstandard paths exist before adding to PATH. testPath="$HOME/.local/bin" - [ -f "$testPath" ] && export PATH="$PATH:$testPath" + [ -d "$testPath" ] && export PATH="$PATH:$testPath" testPath="$HOME/scripts" - [ -f "$testPath" ] && export PATH="$PATH:$testPath" + [ -d "$testPath" ] && export PATH="$PATH:$testPath" #set default editor and pager. export EDITOR=nvim export VISUAL=nvim