shell: a bunch of uncommitted changes since i switched to Trisquel
[~bandali/configs] / .profile
... / ...
CommitLineData
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
10
11export EDITOR="emacsclient -nw"
12export VISUAL="emcl"
13
14PATH="$HOME/bin:$HOME/.local/bin:$PATH"
15PATH="$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin:$PATH"
16export PATH
17
18export XDG_CONFIG_HOME="$HOME/.config"
19export XDG_DATA_HOME="$HOME/.local/share"
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
24
25export MAILDIR="$HOME/mail"
26export CVS_RSH="ssh"
27
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
39if [ -x "$(command -v guix)" ]; then
40 export PATH="$HOME/.config/guix/current/bin:$PATH"
41 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
42
43 GUIX_PROFILE="$HOME/.guix-profile"
44 . "$GUIX_PROFILE/etc/profile"
45fi
46
47setxkbmap \
48 -layout us_ab,ir \
49 -option ctrl:nocaps \
50 -option altwin:swap_alt_win \
51 -option grp:shifts_toggle