2019-09-20 10:36:41 +02:00
|
|
|
# export PATH="$PATH:$HOME/bin:$HOME/.local/bin"
|
|
|
|
# export HOSTNAME="gentoo"
|
|
|
|
# export SCRIPTS="$HOME/scripts"
|
|
|
|
# export TSCRIPTS="$HOME/termscripts"
|
|
|
|
# export HISTFILE="$HOME/.mksh_history"
|
|
|
|
# export WALLPAPERS="$HOME/Pictures/wallpapers"
|
|
|
|
# export SCREENSHOTS="$HOME/Pictures/Screenshots"
|
|
|
|
# export EDITOR="vim"
|
|
|
|
# export VIDEO_FORMATS="mp4,mkv,avi,ogv,webm,divx,wmv,flv"
|
|
|
|
# export AUDIO_FORMATS="mp3,ogg,vorbis,opus,aac,wav,3gp,mpg,flac"
|
|
|
|
# export VIDEOPLAYER="mpv"
|
|
|
|
# export AUDIOPLAYER="cmus-remote"
|
|
|
|
# export TERMINAL="st"
|
|
|
|
# export BROWSER="palemoon-bin"
|
|
|
|
# export MUSIC="$HOME/Music/music"
|
|
|
|
# export PASSWORD_STORE_DIR="$HOME/.password-store"
|
|
|
|
# export ANDROID_MOUNTPOINT="$HOME/Android"
|
|
|
|
# export BRIGHTNESS="0.9"
|
|
|
|
# export SUDO_ASKPASS="/usr/bin/x11-ssh-askpass"
|
|
|
|
# export TRASH="$HOME/.local/trash:$HOME/.local/share/vifm/Trash"
|
|
|
|
# export DEVICES_FOLDER="/media"
|
|
|
|
# export FAV_STREAMERS="$HOME/fav_streamers"
|
|
|
|
# export LC_ALL=en_US.utf8
|
|
|
|
|
|
|
|
source .profile
|
2019-07-11 16:09:05 +02:00
|
|
|
|
|
|
|
# custom prompt see http://comments.gmane.org/gmane.os.miros.mksh/126
|
|
|
|
# USER
|
|
|
|
PS1=$'\a\r\a\e[1;34m\a┌─| \a\e[36m\a${USER:=$(ulimit -c 0; \
|
|
|
|
id -un 2>/dev/null || echo \?)}@${HOSTNAME%%.*}\a\e[34m\a |──| \a\e[0;33m\a$(
|
|
|
|
local d=${PWD:-?} p=~
|
|
|
|
[[ $p = ?(*/) ]] || d=${d/#$p/~}
|
|
|
|
print -nr -- "$d"
|
|
|
|
)\a\e[1;34m\a | \n└─| \a\e[32m\a$(date +%H:%M)\a\e[34m\a |─>> \a\e[0m\a '
|
|
|
|
|
|
|
|
# # ROOT
|
|
|
|
# PS1=$'\a\r\a\e[1;34m\a┌─| \a\e[31m\a${USER:=$(ulimit -c 0; \
|
|
|
|
# id -un 2>/dev/null || echo \?)}@${HOSTNAME%%.*}\a\e[34m\a |──| \a\e[0;33m\a$(
|
|
|
|
# local d=${PWD:-?} p=~
|
|
|
|
# [[ $p = ?(*/) ]] || d=${d/#$p/~}
|
|
|
|
# print -nr -- "$d"
|
|
|
|
# )\a\e[1;34m\a | \n└─| \a\e[32m\a$(date +%H:%M)\a\e[34m\a |─>> \a\e[0m\a '
|
2019-10-01 16:20:43 +02:00
|
|
|
|
|
|
|
cat $HOME/unix
|