blob: 6e878b18339b69a958411e9aa0b183598847cb21 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# History settings
HISTFILE=~/.zsh_history
HISTSIZE=1000000
SAVEHIST=$HISTSIZE
export TZ=America/New_York
export ALTERNATE_EDITOR=vim
export EDITOR=emacsclient
export TERMINAL=urxvt
export LEDGER_FILE=$HOME/org/hledger/2021.journal
export CHEMACS_PROFILE=default
if [[ $(hostname) =~ pincer* || $(hostname) =~ dex* || $(hostname) =~ fedora || $(hostname) =~ firelink ]]; then
export MOZ_ENABLE_WAYLAND=1
export GDK_BACKEND=wayland
export QT_QPA_PLATFORM=wayland
#export GDK_SCALE=2
fi
if [[ $(hostname) =~ fedora ]]; then
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
fi
PATH="$HOME/bin:$HOME/.local/bin:$HOME/build/doom-emacs/bin:$PATH:$HOME/.cargo/bin"
alias e="emacsclient -n"
alias dmenu=rofi
alias dmenu_run="rofi -show run"
source ~/.zshenv.local
export XKB_DEFAULT_LAYOUT="us(dvorak)"
export XKB_DEFAULT_OPTIONS="caps:ctrl_modifier,compose:ralt"
if [[ $(hostname) =~ dex* || $(hostname) =~ firelink ]]; then
# US keyboard layout works better with the Corne keymap.
export XKB_DEFAULT_LAYOUT="us"
fi
|