feat(zsh): new alias, new function

This commit is contained in:
Ahurac 2024-10-08 11:01:32 +02:00
parent 7e16de0723
commit 8395ac1f60

View file

@ -151,6 +151,7 @@
j = "jobs"; j = "jobs";
sshm = "ssh -M"; sshm = "ssh -M";
pd = "pushd"; pd = "pushd";
wlc = "wl-copy";
}; };
plugins = [{ plugins = [{
name = "vi-mode"; name = "vi-mode";
@ -161,6 +162,10 @@
mkcdir() { mkcdir() {
mkdir -p -- "$@" && cd -- "$1" mkdir -p -- "$@" && cd -- "$1"
} }
getpwd() {
rbw get "$@" | wl-copy
}
''; '';
}; };