From 6c0cb97d199c16d7a3a0ea89ae9c686d0adb0d01 Mon Sep 17 00:00:00 2001 From: Naman Sood <naman.sood@data.world> Date: Fri, 15 Jul 2022 10:23:41 -0500 Subject: [PATCH] zshrc: cool new functions Signed-off-by: Naman Sood <naman.sood@data.world> --- zshrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zshrc b/zshrc index 9b1943d..6098d38 100644 --- a/zshrc +++ b/zshrc @@ -110,3 +110,11 @@ if [ -z "$SSH_AUTH_SOCK" ] ; then eval `ssh-agent -s` grep -slR PRIVATE ~/.ssh/ | xargs ssh-add fi + +exp() { + cd "$@" && ls +} + +cdmk() { + mkdir -p "$@" && cd "$@" +}