diff options
-rw-r--r-- | bashrc | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -5,11 +5,11 @@ complete -cf sudo man which _have() { type "$1" &>/dev/null; } _source_if() { [[ -r "$1" ]] && source "$1"; } -_have setxkbmap && test -n "$DISPLAY" && - setxkbmap -option caps:escape &>/dev/null +# _have setxkbmap && test -n "$DISPLAY" && setxkbmap -option caps:escape &>/dev/null _have xset && xset r rate 300 30 -_have xsetkbmap && setxkbmap -option ctrl:nocaps +_have setxkbmap && setxkbmap -option ctrl:nocaps +_have setxkbmap && setxkbmap -layout gb _have pandoc && . <(pandoc --bash-completion) shopt -s globstar @@ -80,6 +80,7 @@ set -o noclobber # aliases alias c='printf "\e[H\e[2J"' +alias xterm-blue='xterm -bg Dark\ Slate\ Blue -fg white' alias temp='cd $(mktemp -d)' alias am='append_to_masterlist' alias annex-sync='cd ~/annex/ && git annex sync && cd -' @@ -364,3 +365,4 @@ ytmp3-split-to-chapters() { yt-dlp -f 'bestaudio' -x --audio-format mp3 --split-chapters -o '%(title)s.%(ext)s' "$1" && cd - || return } . "$HOME/.cargo/env" +eval "$(direnv hook bash)" |