Uploading a update from the mksh prompt
This commit is contained in:
parent
3e3b8004b0
commit
043917d008
55
home/.mkshrc
55
home/.mkshrc
|
@ -3,17 +3,62 @@
|
|||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
PS1="diego@void$(echo '$(pwd | sed "s,^$HOME,~,") $') "
|
||||
|
||||
[ -r /home/diegofcs/.aliases ] && . /home/diegofcs/.aliases
|
||||
###########################################################
|
||||
|
||||
export XDG_RUNTIME_DIR=/tmp/runtime-diegofcs/qutebrowser
|
||||
PS1="$(print '\033[34m$(pwd | sed "s|^$HOME|~|")\033[00m
|
||||
$(get_uid)@void %') "
|
||||
|
||||
get_uid(){
|
||||
if (( USER_ID )) ; then
|
||||
print \diego
|
||||
else
|
||||
print \root
|
||||
fi
|
||||
}
|
||||
|
||||
###########################################################
|
||||
|
||||
[ -r /home/diegofcs/.aliases ] && . /home/diegofcs/.aliases
|
||||
|
||||
###########################################################
|
||||
|
||||
export TZ=America/Bogota
|
||||
export TERM=rxvt-unicode-256color
|
||||
|
||||
###########################################################
|
||||
|
||||
export PATH="$PATH:$(du "$HOME/Scripts/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')"
|
||||
export PATH="$HOME/.local/bin/:$PATH"
|
||||
###########################################################
|
||||
|
||||
###########################################################
|
||||
# Base16 Grayscale Dark
|
||||
# Scheme author: Alexandre Gavioli (https://github.com/Alexx2/)
|
||||
# Template author: Tinted Theming (https://github.com/tinted-theming)
|
||||
|
||||
_gen_fzf_default_opts() {
|
||||
|
||||
local color00='#101010'
|
||||
local color01='#252525'
|
||||
local color02='#464646'
|
||||
local color03='#525252'
|
||||
local color04='#ababab'
|
||||
local color05='#b9b9b9'
|
||||
local color06='#e3e3e3'
|
||||
local color07='#f7f7f7'
|
||||
local color08='#7c7c7c'
|
||||
local color09='#999999'
|
||||
local color0A='#a0a0a0'
|
||||
local color0B='#8e8e8e'
|
||||
local color0C='#868686'
|
||||
local color0D='#686868'
|
||||
local color0E='#747474'
|
||||
local color0F='#5e5e5e'
|
||||
|
||||
export FZF_DEFAULT_OPTS="$FZF_DEFAULT_OPTS"\
|
||||
" --color=bg+:$color01,bg:$color00,spinner:$color0C,hl:$color0D"\
|
||||
" --color=fg:$color04,header:$color0D,info:$color0A,pointer:$color0C"\
|
||||
" --color=marker:$color0C,fg+:$color06,prompt:$color0A,hl+:$color0D"
|
||||
|
||||
}
|
||||
|
||||
_gen_fzf_default_opts
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
# .mkshrc
|
||||
|
||||
# If not running interactively, don't do anything
|
||||
[[ $- != *i* ]] && return
|
||||
|
||||
PS1="diego@void$(echo '$(pwd | sed "s,^$HOME,~,") $') "
|
||||
|
||||
[ -r /home/diegofcs/.aliases ] && . /home/diegofcs/.aliases
|
||||
###########################################################
|
||||
|
||||
export XDG_RUNTIME_DIR=/tmp/runtime-diegofcs/qutebrowser
|
||||
export TZ=America/Bogota
|
||||
|
||||
###########################################################
|
||||
|
||||
export PATH="$PATH:$(du "$HOME/Scripts/" | cut -f2 | tr '\n' ':' | sed 's/:*$//')"
|
||||
export PATH="$HOME/.local/bin/:$PATH"
|
||||
###########################################################
|
||||
|
Reference in New Issue