.profile.common

changeset 1184
89378394f07f
parent 1180
308dce5084af
equal deleted inserted replaced
1183:c5735f6254b1 1184:89378394f07f
17 17
18 if [ -x ~/.local/bin/mise ]; then 18 if [ -x ~/.local/bin/mise ]; then
19 eval "$(mise activate ${ZSH_NAME:-bash})" 19 eval "$(mise activate ${ZSH_NAME:-bash})"
20 fi 20 fi
21 21
22 if [ -d ~/.asdf ]; then
23 source ~/.asdf/asdf.sh
24 fi
25
26 if [ -x "$(command -v nvim)" ]; then 22 if [ -x "$(command -v nvim)" ]; then
27 export EDITOR=nvim 23 export EDITOR=nvim
28 alias vim=nvim 24 alias vim=nvim
29 alias view="nvim -R" 25 alias view="nvim -R"
30 else 26 else
34 export SUDO_EDITOR=$HOME/bin/privim 30 export SUDO_EDITOR=$HOME/bin/privim
35 export LESS='Ri' 31 export LESS='Ri'
36 export GPG_TTY="$(tty)" 32 export GPG_TTY="$(tty)"
37 33
38 export PERL_CPANM_OPT='-nq --prompt' 34 export PERL_CPANM_OPT='-nq --prompt'
39
40 export ASDF_CONCURRENCY='2'
41 export RUBY_EXTRA_CONFIGURE_OPTIONS="--enable-shared --enable-install-doc"
42 35
43 alias l='ls -lFh' #size,show type,human readable 36 alias l='ls -lFh' #size,show type,human readable
44 alias la='ls -lAFh' #long list,show almost all,show type,human readable 37 alias la='ls -lAFh' #long list,show almost all,show type,human readable
45 alias lt='ls -ltFh' #long list,sorted by date,show type,human readable 38 alias lt='ls -ltFh' #long list,sorted by date,show type,human readable
46 alias ll='ls -l' #long list 39 alias ll='ls -l' #long list

mercurial