You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
500 B
Bash
20 lines
500 B
Bash
4 years ago
|
#!/usr/bin/env bash
|
||
4 years ago
|
#ft=bash
|
||
|
|
||
|
# Disable capslock
|
||
|
if [[ -x $(which setxkbmap) ]] && [[ $(uname) == Linux ]]; then
|
||
|
setxkbmap -option ctrl:nocaps
|
||
|
fi
|
||
|
|
||
|
# make less more friendly for non-text input files, see lesspipe(1)
|
||
|
if [ -x /usr/bin/lesspipe ]; then
|
||
|
eval "$(SHELL=/bin/sh lesspipe)"
|
||
|
fi
|
||
|
|
||
|
# enable color support of ls and also add handy aliases
|
||
|
if [ -x /usr/bin/dircolors ]; then
|
||
|
if test -r ~/.dircolors ; then
|
||
|
eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
|
||
|
fi
|
||
|
fi
|