update kshrc
[dotfiles_afify.git] / .profile
blob86d61544232bcf46eb4099eb7d6f9f122ec87b6a
1 #!/bin/sh
3 export EDITOR=vim
4 export VISUAL=vim
5 export GPG_TTY=$(tty)
6 export LANG=en_US.UTF-8
7 export LC_ALL=en_US.UTF-8
8 export HISTSIZE=10000
9 export ENV=~/.config/ksh/kshrc
10 export HISTFILE=~/.cache/.sh_history
11 export GTK2_RC_FILES=~/.config/gtk-2.0/gtkrc-2.0
12 export VIMINIT="source ~/.vim/vimrc"
13 export MANPATH="/usr/local/share/man:/usr/local/man:/usr/share/man:/usr/X11R6/man"
14 export _JAVA_AWT_WM_NONREPARENTING=1
15 export LESSHISTFILE="-"
16 export LESS_TERMCAP_mb="$(printf '\33[38;5;214m')"
17 export LESS_TERMCAP_md="$(printf '\33[38;5;214m')"
18 export LESS_TERMCAP_me="$(printf '\33[0m')"
19 export LESS_TERMCAP_so="$(printf '\33[1;44;37m')"
20 export LESS_TERMCAP_se="$(printf '\33[0m')"
21 export LESS_TERMCAP_us="$(printf '\33[38;5;166m')"
22 export LESS_TERMCAP_ue="$(printf '\33[0m')"
24 if [ "$(uname -s)" = "Linux" ]; then
25 export HW=$(cat /sys/devices/virtual/dmi/id/sys_vendor /sys/devices/virtual/dmi/id/product_name)
26 else
27 export HW="$(sysctl -n hw.vendor) $(sysctl -n hw.product)"