dotfiles/.mkshrc
inigoortega 753c07c665 All scripts are POSIXfied now (I think).
There might be bugs
2019-10-01 16:20:43 +02:00

44 lines
1.9 KiB
Text

# 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
# 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 '
cat $HOME/unix