shell: a bunch of uncommitted changes since i switched to Trisquel
[~bandali/configs] / .profile
CommitLineData
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
11export EDITOR="emacsclient -nw"
12export VISUAL="emcl"
d99f86cd 13
9daac239
AB
14PATH="$HOME/bin:$HOME/.local/bin:$PATH"
15PATH="$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin:$PATH"
16export PATH
a75331ab 17
0f10b2c2
AB
18export XDG_CONFIG_HOME="$HOME/.config"
19export XDG_DATA_HOME="$HOME/.local/share"
9daac239
AB
20export XDG_DATA_DIRS="/usr/share/mate:/usr/local/share/:/usr/share/"
21
22export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
23export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
a75331ab 24
0f10b2c2
AB
25export MAILDIR="$HOME/mail"
26export CVS_RSH="ssh"
a75331ab 27
9daac239
AB
28export GOPATH="$HOME/src/go"
29
30# if running bash
31if [ -n "$BASH_VERSION" ]; then
32 # include .bashrc if it exists
33 if [ -f "$HOME/.bashrc" ]; then
34 . "$HOME/.bashrc"
35 fi
36fi
37
38# if guix is installed
d99f86cd 39if [ -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 45fi
0f10b2c2 46
9daac239
AB
47setxkbmap \
48 -layout us_ab,ir \
49 -option ctrl:nocaps \
50 -option altwin:swap_alt_win \
51 -option grp:shifts_toggle