gitignore, kshrc, notify_azan, notify_cpu
[dotfiles_afify.git] / .profile
blobbb8fbdfd97d42409c7fd625852b6d601325ac3ff
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 ENV=~/.config/ksh/kshrc
9 export HISTSIZE=10000
10 export HISTCONTROL=ignoredups
11 export HISTFILE=~/.cache/.sh_history
12 export GTK2_RC_FILES=~/.config/gtk-2.0/gtkrc-2.0
13 export VIMINIT="source ~/.vim/vimrc"
14 export MANPATH="/usr/local/share/man:/usr/local/man:/usr/share/man:/usr/X11R6/man"
15 export _JAVA_AWT_WM_NONREPARENTING=1
16 export LESSHISTFILE="-"
17 export LESS_TERMCAP_mb="$(printf '\33[38;5;214m')"
18 export LESS_TERMCAP_md="$(printf '\33[38;5;214m')"
19 export LESS_TERMCAP_me="$(printf '\33[0m')"
20 export LESS_TERMCAP_so="$(printf '\33[1;44;37m')"
21 export LESS_TERMCAP_se="$(printf '\33[0m')"
22 export LESS_TERMCAP_us="$(printf '\33[38;5;166m')"
23 export LESS_TERMCAP_ue="$(printf '\33[0m')"
25 if [ "$(uname -s)" = "Linux" ]; then
26 export HW=$(cat /sys/devices/virtual/dmi/id/sys_vendor /sys/devices/virtual/dmi/id/product_name)
27 else
28 export HW="$(sysctl -n hw.vendor) $(sysctl -n hw.product)"