.profile.common

changeset 1066
c826661721a8
parent 1051
5c69bfa6dc3c
child 1067
08675f3a85f6
equal deleted inserted replaced
1065:23229c179f82 1066:c826661721a8
11 11
12 HISTIGNORE="ls:cd:cd -:pwd:exit:date:privim" 12 HISTIGNORE="ls:cd:cd -:pwd:exit:date:privim"
13 13
14 export MANPATH=$HOME/.man:$HOME/.local/share/man: 14 export MANPATH=$HOME/.man:$HOME/.local/share/man:
15 15
16 # TODO: detect presence
17 export EDITOR=nvim
18 export SUDO_EDITOR=$HOME/bin/privim
19 export LESS='Ri'
20 export GPG_TTY="$(tty)"
21
22 export PERL_CPANM_OPT='-nq --prompt'
23
24 export ASDF_CONCURRENCY='2'
25 export RUBY_EXTRA_CONFIGURE_OPTIONS="--enable-shared --enable-install-doc"
26
27 if [ -d ~/perl5/lib ]; then 16 if [ -d ~/perl5/lib ]; then
28 eval "$(perl -Mlocal::lib)" 17 eval "$(perl -Mlocal::lib)"
29 fi 18 fi
30 19
31 if [ -d /opt/homebrew ]; then 20 if [ -d /opt/homebrew ]; then
33 fi 22 fi
34 23
35 if [ -d ~/.asdf ]; then 24 if [ -d ~/.asdf ]; then
36 source ~/.asdf/asdf.sh 25 source ~/.asdf/asdf.sh
37 fi 26 fi
27
28 if [ -x "$(command -v nvim)" ]; then
29 export EDITOR=nvim
30 alias vim=nvim
31 alias view="nvim -R"
32 else
33 export editor=vim
34 fi
35
36 export SUDO_EDITOR=$HOME/bin/privim
37 export LESS='Ri'
38 export GPG_TTY="$(tty)"
39
40 export PERL_CPANM_OPT='-nq --prompt'
41
42 export ASDF_CONCURRENCY='2'
43 export RUBY_EXTRA_CONFIGURE_OPTIONS="--enable-shared --enable-install-doc"
38 44
39 alias l='ls -lFh' #size,show type,human readable 45 alias l='ls -lFh' #size,show type,human readable
40 alias la='ls -lAFh' #long list,show almost all,show type,human readable 46 alias la='ls -lAFh' #long list,show almost all,show type,human readable
41 alias lt='ls -ltFh' #long list,sorted by date,show type,human readable 47 alias lt='ls -ltFh' #long list,sorted by date,show type,human readable
42 alias ll='ls -l' #long list 48 alias ll='ls -l' #long list

mercurial