[~] Refactor

This commit is contained in:
Siarhei Siniak 2024-08-17 09:43:40 +03:00
parent 10be7dc897
commit d0177e7255
3 changed files with 22 additions and 1 deletions

19
docker/js/.zshrc Normal file

@ -0,0 +1,19 @@
# The following lines were added by compinstall
zstyle ':completion:*' completer _expand _complete _ignored _correct _approximate
zstyle :compinstall filename '~/.zshrc'
setopt INC_APPEND_HISTORY SHARE_HISTORY AUTO_PUSHD PUSHD_IGNORE_DUPS
setopt PROMPTSUBST
autoload -Uz compinit
compinit
# End of lines added by compinstall
# Lines configured by zsh-newuser-install
HISTFILE=~/.histfile
HISTSIZE=1000000
SAVEHIST=1000000
# End of lines configured by zsh-newuser-install
bindkey -d
bindkey -v

@ -9,4 +9,4 @@ services:
- ./tmp/cache/js/root-cache:/root/.cache:rw
- ./tmp/cache/js/root-yarn:/root/.yarn:rw
- ./docker/js:/app/docker/js:ro
- ./tmp/cache/js:/app/tmp/cache/js:ro
- ./tmp/cache/js:/app/tmp/cache/js:rw

@ -1,5 +1,7 @@
corepack enable
corepack install
# yarn init -2
ln -sf /app/docker/js/.zshrc ~/.zshrc
ln -sf /app/tmp/cache/js/.histfile ~/.histfile
export EDITOR=vim
exec /usr/bin/zsh -l