Commit 8b531595 by PotatoGim

펄5 환경 설정 추가

parent 339fef9a
......@@ -147,7 +147,6 @@ function pg_renamevm
export HISTSIZE=10240000
export HISTTIMEFORMAT="%Y-%m-%d [%T] "
export HISTCONTROL=ignoreboth:erasedups
export PS1="[\u@\h \W]\$ "
export PS2="> "
export PS3="> "
......@@ -156,6 +155,13 @@ export PS4="+ "
# Java AWT를 사용하는 애플리케이션의 문제를 해결
export _JAVA_AWT_WM_NONREPARENTING=1
# Perl5 사용자 설정
export PATH="$HOME/.perl5/bin${PATH+:}$PATH"
export PERL5LIB="$HOME/.perl5/lib/perl5${PERL5LIB+:}$PERL5LIB"
export PERL_LOCAL_LIB_ROOT="$HOME/.perl5${PERL_LOCAL_LIB_ROOT+:}$PERL_LOCAL_LIB_ROOT"
export PERL_MB_OPT="--install_base \"$HOME/.perl5\""
export PERL_MM_OPT="INSTALL_BASE=$HOME/.perl5"
# mtpfs를 사용해서 안드로이드 기기를 마운트
alias android-connect="mtpfs -o allow_other /media/android"
alias android-disconnect="sudo umount -u /media/android"
......@@ -168,7 +174,7 @@ alias vi="vim"
alias which='alias | /usr/bin/which --tty-only --read-alias --show-dot --show-tilde'
if [ "x$TMUX" != "x" ]; then
function cd() { builtin cd "$@" && tmux rename-window `basename $PWD`; }
function cd() { builtin cd "$@" && printf "\033k`basename $PWD`\033\\"; }
tmux rename-window `basename $PWD`;
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment