feat: added secret copy command to nushell configuration
This commit is contained in:
parent
f785e4762e
commit
b328d0bc58
1 changed files with 8 additions and 0 deletions
|
|
@ -52,3 +52,11 @@ def take [path: string] {
|
||||||
mkdir $path
|
mkdir $path
|
||||||
cd $path
|
cd $path
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# secret copy command
|
||||||
|
def sc [path: string] {
|
||||||
|
["/run/secrets" $path]
|
||||||
|
| path join
|
||||||
|
| open
|
||||||
|
| wl-copy
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue