Check for xmodmap's existence before calling it

master
Jordan Atwood 2 years ago
parent 880b554a35
commit e8c7f07a32
Signed by: nightfirecat
GPG Key ID: 615A619C2D73A6DF
  1. 2
      src/.bashrc

@ -10,7 +10,7 @@ if [ -f /etc/bashrc ]; then
fi
# source x mod map (if any)
[ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap
[ -f ~/.Xmodmap ] && type xmodmap >/dev/null 2>/dev/null && xmodmap ~/.Xmodmap
### shell options

Loading…
Cancel
Save