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" | |
10 | export PATH | |
a75331ab | 11 | |
0f10b2c2 AB |
12 | export XDG_CONFIG_HOME="$HOME/.config" |
13 | export XDG_DATA_HOME="$HOME/.local/share" | |
9daac239 AB |
14 | |
15 | export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc | |
16 | export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc | |
a75331ab | 17 | |
0f10b2c2 AB |
18 | export MAILDIR="$HOME/mail" |
19 | export CVS_RSH="ssh" | |
a75331ab | 20 | |
9daac239 AB |
21 | export GOPATH="$HOME/src/go" |
22 | ||
23 | # if running bash | |
24 | if [ -n "$BASH_VERSION" ]; then | |
25 | # include .bashrc if it exists | |
26 | if [ -f "$HOME/.bashrc" ]; then | |
27 | . "$HOME/.bashrc" | |
28 | fi | |
29 | fi | |
30 | ||
9daac239 | 31 | setxkbmap \ |
a38abd4c | 32 | -layout us,ir \ |
9daac239 | 33 | -option ctrl:nocaps \ |
9daac239 | 34 | -option grp:shifts_toggle |
a38abd4c AB |
35 | |
36 | xmodmap -e "keysym Menu = Super_R" | |
37 | ||
38 | xrdb -merge "$HOME/.Xresources" |