This commit is contained in:
Gabe Venberg 2021-04-20 15:15:06 -05:00
commit bf3e6d39ad
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
#remap caps lock to a third control key. both shifts at once toggle shiftlock #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 xrdb -merge ~/.Xresources
#~/dotfiles/scripts/mousestart #~/dotfiles/scripts/mousestart
i3 i3

View file

@ -17,9 +17,9 @@
(($+command[ruby])) && export PATH="$PATH:$(ruby -e 'puts Gem.user_dir' 2> /dev/null)/bin" (($+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. #test that these nonstandard paths exist before adding to PATH.
testPath="$HOME/.local/bin" testPath="$HOME/.local/bin"
[ -f $testPath ] && export PATH="$PATH:$testPath" [ -d "$testPath" ] && export PATH="$PATH:$testPath"
testPath="$HOME/scripts" testPath="$HOME/scripts"
[ -f $testPath ] && export PATH="$PATH:$testPath" [ -d "$testPath" ] && export PATH="$PATH:$testPath"
#set default editor and pager. #set default editor and pager.
export EDITOR=nvim export EDITOR=nvim
export VISUAL=nvim export VISUAL=nvim
@ -198,7 +198,7 @@
#fzf stuff #fzf stuff
#zsh key bindings (different distros put these in different places.) #zsh key bindings (different distros put these in different places.)
testPath=$(find /usr/share -path '*fzf/*key-bindings.zsh' -print -quit 2> /dev/null) testPath=$(find /usr/share -path '*fzf/*key-bindings.zsh' -print -quit 2> /dev/null)
[ -f $testPath ] && source $testPath [ -f "$testPath" ] && source $testPath
#zsh completions, if it exists. #zsh completions, if it exists.
testPath=$(find /usr/share -path '*fzf/*completion.zsh' -print -quit 2> /dev/null) testPath=$(find /usr/share -path '*fzf/*completion.zsh' -print -quit 2> /dev/null)
[ -f $testPath ] && source $testPath [ -f "$testPath" ] && source $testPath