summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2023-05-18 15:45:20 +0200
committerMarc Vertes <mvertes@free.fr>2023-05-18 15:45:20 +0200
commitdae618ee1c8c8c80f6e6d0b1ee4fb1c503eb71e7 (patch)
treea932510c715e28492e7b3e7830d16a256c4810f6
parent8570c9a0ec85d2f1cac1fa239138b8fffc468e9c (diff)
add mkcd
-rw-r--r--.bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 564a837..e3a1c9a 100644
--- a/.bashrc
+++ b/.bashrc
@@ -100,6 +100,8 @@ export YAEGI_UNSAFE=1
export YAEGI_UNRESTRICTED=1
export YAEGI_SYSCALL=1
+mkcd() { mkdir -p "$1" && cd "$1"; }
+
mosht() { mosh "$@" -- tmux new -A; }
export -f mosht