feat(zsh
): new alias, new function
This commit is contained in:
parent
7e16de0723
commit
8395ac1f60
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue