diff options
author | Amin Bandali <bandali@gnu.org> | 2019-12-03 22:11:52 -0500 |
---|---|---|
committer | Amin Bandali <bandali@gnu.org> | 2019-12-03 22:11:52 -0500 |
commit | 9c9bf1a21872cc492520b2b4b6bac2a84be4a5f5 (patch) | |
tree | 4f5cbcf22bb2d141be38894a481fa7b6b102fec9 | |
parent | 1401d7c4401a40d5bc111fafb5eebc91bebf0a9d (diff) | |
download | configs-9c9bf1a21872cc492520b2b4b6bac2a84be4a5f5.tar.gz configs-9c9bf1a21872cc492520b2b4b6bac2a84be4a5f5.tar.xz configs-9c9bf1a21872cc492520b2b4b6bac2a84be4a5f5.zip |
bash: add t function
-rw-r--r-- | .bashrc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -87,6 +87,10 @@ aur() { cd ${1} } +function t { + cd $(mktemp -d /tmp/$1.XXXX) +} + # separate alias definitions file, if exists if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases |