From 16f9a881855076201c685665a19768f8e804f2ad Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 5 Dec 2019 14:22:29 +0300 Subject: new temp dir function --- .zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.zshrc b/.zshrc index ccd8d20..5e55847 100644 --- a/.zshrc +++ b/.zshrc @@ -159,3 +159,8 @@ PERL5LIB="/home/yigit/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB PERL_LOCAL_LIB_ROOT="/home/yigit/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; PERL_MB_OPT="--install_base \"/home/yigit/perl5\""; export PERL_MB_OPT; PERL_MM_OPT="INSTALL_BASE=/home/yigit/perl5"; export PERL_MM_OPT; + +# https://lobste.rs/s/zpw6py/how_do_you_organize_your_home_directory +function te { + cd $(mktemp -d /tmp/$1.XXXX) +} -- cgit v1.2.3-70-g09d2