bash: remove unnecessary (on guix system) env manipulations
[~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
5 export EDITOR="emacsclient -nw"
6 export VISUAL="emcl"
7
8 PATH="$HOME/bin:$HOME/.local/bin:$PATH"
9 PATH="$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin:$PATH"
10 export PATH
11
12 export XDG_CONFIG_HOME="$HOME/.config"
13 export XDG_DATA_HOME="$HOME/.local/share"
14
15 export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
16 export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
17
18 export MAILDIR="$HOME/mail"
19 export CVS_RSH="ssh"
20
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
31 setxkbmap \
32 -layout us,ir \
33 -option ctrl:nocaps \
34 -option grp:shifts_toggle
35
36 xmodmap -e "keysym Menu = Super_R"
37
38 xrdb -merge "$HOME/.Xresources"