feat: added new nushell functions
d566821d
2 file(s) · +13 −1
| 922 | 922 | bat ~/.nvim-startup.txt |
|
| 923 | 923 | } |
|
| 924 | 924 | ||
| 925 | + | def cpf [file_path: string] { |
|
| 926 | + | cat ($file_path) | pbcopy |
|
| 927 | + | echo "✔︎ Copied to clipboard!" |
|
| 928 | + | } |
|
| 929 | + | ||
| 930 | + | def orbiter-personal [] { |
|
| 931 | + | orbiter auth --key (op read "op://Personal/orbiter-api-key/credential") |
|
| 932 | + | } |
|
| 933 | + | ||
| 934 | + | def orbiter-account [] { |
|
| 935 | + | orbiter auth --key (op read "op://Personal/orbiter-account-api-key/credential") |
|
| 936 | + | } |
|
| 937 | + | ||
| 925 | 938 | # Custom git init with .gitignore template |
|
| 926 | 939 | def ginit [ |
|
| 927 | 940 | --template (-t): string = "node,macos,linux,windows" # The template to use for .gitignore, comma separated values |
| 1 | 1 | { |
|
| 2 | 2 | "ansi-nvim": { "branch": "main", "commit": "8d0078f63d161de882bca21a505f84ee442fa194" }, |
|
| 3 | - | "gitsigns.nvim": { "branch": "main", "commit": "6e3c66548035e50db7bd8e360a29aec6620c3641" }, |
|
| 4 | 3 | "lazy.nvim": { "branch": "main", "commit": "6c3bda4aca61a13a9c63f1c1d1b16b9d3be90d7a" }, |
|
| 5 | 4 | "mini.nvim": { "branch": "main", "commit": "94cae4660a8b2d95dbbd56e1fbc6fcfa2716d152" }, |
|
| 6 | 5 | "nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" }, |