zshrc: cool new functions
Signed-off-by: Naman Sood <naman.sood@data.world>
This commit is contained in:
parent
fc2b3d4239
commit
6c0cb97d19
1 changed files with 8 additions and 0 deletions
8
zshrc
8
zshrc
|
@ -110,3 +110,11 @@ if [ -z "$SSH_AUTH_SOCK" ] ; then
|
||||||
eval `ssh-agent -s`
|
eval `ssh-agent -s`
|
||||||
grep -slR PRIVATE ~/.ssh/ | xargs ssh-add
|
grep -slR PRIVATE ~/.ssh/ | xargs ssh-add
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
exp() {
|
||||||
|
cd "$@" && ls
|
||||||
|
}
|
||||||
|
|
||||||
|
cdmk() {
|
||||||
|
mkdir -p "$@" && cd "$@"
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue