mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[scripts] add the prime-run script along with a completion function
This commit is contained in:
parent
bd04f977c4
commit
13d2805205
2 changed files with 6 additions and 0 deletions
2
scripts/prime-run
Executable file
2
scripts/prime-run
Executable file
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia exec "$@"
|
4
zsh/completions/_prime-run
Normal file
4
zsh/completions/_prime-run
Normal file
|
@ -0,0 +1,4 @@
|
|||
#compdef prime-run
|
||||
|
||||
_arguments \
|
||||
'*:: : _normal -p $service'
|
Loading…
Reference in a new issue