Commit | Line | Data |
---|---|---|
9daac239 AB |
1 | # ~/.profile: executed by the command interpreter for login shells. |
2 | # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login | |
3 | # exists. | |
14623136 | 4 | |
2446aab5 AB |
5 | export EDITOR="emacsclient -nw" |
6 | export VISUAL="emcl" | |
d99f86cd | 7 | |
9daac239 AB |
8 | PATH="$HOME/bin:$HOME/.local/bin:$PATH" |
9 | PATH="$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin:$PATH" | |
a38abd4c | 10 | PATH="$HOME/.guix-profile/bin:$HOME/.guix-profile/sbin${PATH:+:}$PATH" |
9daac239 | 11 | export PATH |
a75331ab | 12 | |
0f10b2c2 AB |
13 | export XDG_CONFIG_HOME="$HOME/.config" |
14 | export XDG_DATA_HOME="$HOME/.local/share" | |
9daac239 AB |
15 | |
16 | export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc | |
17 | export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc | |
a75331ab | 18 | |
0f10b2c2 AB |
19 | export MAILDIR="$HOME/mail" |
20 | export CVS_RSH="ssh" | |
a75331ab | 21 | |
9daac239 AB |
22 | export GOPATH="$HOME/src/go" |
23 | ||
a38abd4c AB |
24 | export GIT_EXEC_PATH="$HOME/.guix-profile/libexec/git-core" |
25 | export PASSWORD_STORE_SYSTEM_EXTENSION_DIR="$HOME/.guix-profile/lib/password-store/extensions${PASSWORD_STORE_SYSTEM_EXTENSION_DIR:+:}$PASSWORD_STORE_SYSTEM_EXTENSION_DIR" | |
26 | ||
9daac239 AB |
27 | # if running bash |
28 | if [ -n "$BASH_VERSION" ]; then | |
29 | # include .bashrc if it exists | |
30 | if [ -f "$HOME/.bashrc" ]; then | |
31 | . "$HOME/.bashrc" | |
32 | fi | |
33 | fi | |
34 | ||
35 | # if guix is installed | |
d99f86cd | 36 | if [ -x "$(command -v guix)" ]; then |
9daac239 AB |
37 | GUIX_PROFILE="$HOME/.guix-profile" |
38 | . "$GUIX_PROFILE/etc/profile" | |
d99f86cd | 39 | fi |
0f10b2c2 | 40 | |
9daac239 | 41 | setxkbmap \ |
a38abd4c | 42 | -layout us,ir \ |
9daac239 | 43 | -option ctrl:nocaps \ |
9daac239 | 44 | -option grp:shifts_toggle |
a38abd4c AB |
45 | |
46 | xmodmap -e "keysym Menu = Super_R" | |
47 | ||
48 | xrdb -merge "$HOME/.Xresources" |