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. | |
4 | # see /usr/share/doc/bash/examples/startup-files for examples. | |
5 | # the files are located in the bash-doc package. | |
6 | ||
7 | # the default umask is set in /etc/profile; for setting the umask | |
8 | # for ssh logins, install and configure the libpam-umask package. | |
9 | #umask 022 | |
14623136 | 10 | |
2446aab5 AB |
11 | export EDITOR="emacsclient -nw" |
12 | export VISUAL="emcl" | |
d99f86cd | 13 | |
9daac239 AB |
14 | PATH="$HOME/bin:$HOME/.local/bin:$PATH" |
15 | PATH="$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin:$PATH" | |
16 | export PATH | |
a75331ab | 17 | |
0f10b2c2 AB |
18 | export XDG_CONFIG_HOME="$HOME/.config" |
19 | export XDG_DATA_HOME="$HOME/.local/share" | |
9daac239 AB |
20 | export XDG_DATA_DIRS="/usr/share/mate:/usr/local/share/:/usr/share/" |
21 | ||
22 | export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc | |
23 | export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc | |
a75331ab | 24 | |
0f10b2c2 AB |
25 | export MAILDIR="$HOME/mail" |
26 | export CVS_RSH="ssh" | |
a75331ab | 27 | |
9daac239 AB |
28 | export GOPATH="$HOME/src/go" |
29 | ||
30 | # if running bash | |
31 | if [ -n "$BASH_VERSION" ]; then | |
32 | # include .bashrc if it exists | |
33 | if [ -f "$HOME/.bashrc" ]; then | |
34 | . "$HOME/.bashrc" | |
35 | fi | |
36 | fi | |
37 | ||
38 | # if guix is installed | |
d99f86cd | 39 | if [ -x "$(command -v guix)" ]; then |
9daac239 | 40 | export PATH="$HOME/.config/guix/current/bin:$PATH" |
d99f86cd | 41 | export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" |
9daac239 AB |
42 | |
43 | GUIX_PROFILE="$HOME/.guix-profile" | |
44 | . "$GUIX_PROFILE/etc/profile" | |
d99f86cd | 45 | fi |
0f10b2c2 | 46 | |
9daac239 AB |
47 | setxkbmap \ |
48 | -layout us_ab,ir \ | |
49 | -option ctrl:nocaps \ | |
50 | -option altwin:swap_alt_win \ | |
51 | -option grp:shifts_toggle |