zsh: Add t() function
This commit is contained in:
@@ -147,3 +147,11 @@ embiggen() {
|
|||||||
resolvecd() {
|
resolvecd() {
|
||||||
cd "$(readlink -f $(pwd))"
|
cd "$(readlink -f $(pwd))"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
t() {
|
||||||
|
if [[ "$1" ]] ; then
|
||||||
|
tmux new-session -A -s "$1"
|
||||||
|
else
|
||||||
|
tmux attach-session
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user