10425ee3fe65d2a06db04f788e21f8a5f78e02ae
[~bandali/configs] / .profile
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
11 export EDITOR="emacsclient -nw"
12 export VISUAL="emcl"
13
14 PATH="$HOME/bin:$HOME/.local/bin:$PATH"
15 PATH="$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin:$PATH"
16 export PATH
17
18 export XDG_CONFIG_HOME="$HOME/.config"
19 export XDG_DATA_HOME="$HOME/.local/share"
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
24
25 export MAILDIR="$HOME/mail"
26 export CVS_RSH="ssh"
27
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
39 if [ -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"
45 fi
46
47 setxkbmap \
48 -layout us_ab,ir \
49 -option ctrl:nocaps \
50 -option altwin:swap_alt_win \
51 -option grp:shifts_toggle