diff --git a/home/.bash_profile.d/prompt b/home/.bash_profile.d/prompt deleted file mode 100644 index 8859635..0000000 --- a/home/.bash_profile.d/prompt +++ /dev/null @@ -1,58 +0,0 @@ -# If not running interactively, don't do anything else -[[ $- != *i* ]] && return - -# Color mapping -grey='\[\033[1;30m\]' -red='\[\033[0;31m\]' -RED='\[\033[1;31m\]' -green='\[\033[0;32m\]' -GREEN='\[\033[1;32m\]' -yellow='\[\033[0;33m\]' -YELLOW='\[\033[1;33m\]' -purple='\[\033[0;35m\]' -PURPLE='\[\033[1;35m\]' -white='\[\033[0;37m\]' -WHITE='\[\033[1;37m\]' -blue='\[\033[0;34m\]' -BLUE='\[\033[1;34m\]' -cyan='\[\033[0;36m\]' -CYAN='\[\033[1;36m\]' -NC='\[\033[0m\]' - -#Default colors. -c1=$GREEN -c2=$BLUE -trail='\$' -pre='' - -# RED if logged in as root. -if [ "$EUID" -eq 0 ] -then - c1=$RED - trail='#' -# Toolbox -elif [ -f /run/.containerenv ] && [ -f /run/.toolboxenv ] -then - trail='🔧' - c1=$YELLOW -else -# Per-machine colors. -case `hostname -s` in - polaris) - c1=$BLUE - c2=$CYAN - ;; - arcadia) - c1=$CYAN - c2=$GREEN - ;; - vesta) - trail=🍓 - ;; - rukbat) - trail=🍓 - ;; -esac -fi - -export PS1="${pre}${c1}\u@\h${NC} ${c2}\w ${trail}${NC} " diff --git a/home/.bash_profile.d/prompt b/home/.bash_profile.d/prompt new file mode 120000 index 0000000..48fb232 --- /dev/null +++ b/home/.bash_profile.d/prompt @@ -0,0 +1 @@ +../../private/home/.bash_profile.d/prompt \ No newline at end of file diff --git a/home/.bash_profile.d/root_prompt b/home/.bash_profile.d/root_prompt deleted file mode 100644 index 6ed03e1..0000000 --- a/home/.bash_profile.d/root_prompt +++ /dev/null @@ -1,5 +0,0 @@ -# If not running interactively, don't do anything else -[[ $- != *i* ]] && return - -export PS1='\[\033[01;31m\]\u@\h\[\033[00m\] \[\033[01;32m\]\w #\[\033[00m\] ' - diff --git a/home/.config/mypy/config b/home/.config/mypy/config index 976ba02..98ef8d6 100644 --- a/home/.config/mypy/config +++ b/home/.config/mypy/config @@ -1,2 +1,3 @@ [mypy] +strict = True ignore_missing_imports = True diff --git a/home/.vimrc.d/dev-environ.vim b/home/.vimrc.d/dev-environ.vim index d7a9015..ffc015b 100644 --- a/home/.vimrc.d/dev-environ.vim +++ b/home/.vimrc.d/dev-environ.vim @@ -27,6 +27,7 @@ let g:ale_fixers = { \ 'scss': ['prettier'], \ 'rust': ['rustfmt'], \ 'javascript' : ['eslint'], + \ 'javascriptreact' : ['eslint'], \ 'typescript': ['eslint'], \ 'vue': ['eslint'], \ 'json' :['jq'], diff --git a/private b/private index 44d28f2..0cbd255 160000 --- a/private +++ b/private @@ -1 +1 @@ -Subproject commit 44d28f2c08fac7ed765fd6cc4b6c91a9fedd4fee +Subproject commit 0cbd255efc13b917dcc904495aca0ea80735d275