1
0
mirror of https://github.com/DazAh/dotfiles synced 2026-05-22 02:25:48 +01:00

morefiles

This commit is contained in:
DazAh
2019-10-13 01:29:05 +01:00
parent a7723448a0
commit 58d232b8f5
1411 changed files with 64341 additions and 0 deletions
@@ -0,0 +1,17 @@
#
# If the tt command is called without an argument, launch Textastic
# If tt is passed a directory, cd to it and open it in Textastic
# If tt is passed a file, open it in Textastic
#
function tt() {
if [[ -z "$1" ]]
then
open -a "textastic.app"
else
open -a "textastic.app" "$1"
if [[ -d "$1" ]]
then
cd "$1"
fi
fi
}