From c8de3218296293c15a888b3fda6777004d200f24 Mon Sep 17 00:00:00 2001 From: therbron Date: Wed, 8 Jul 2020 16:25:25 +0200 Subject: [PATCH] Add driver alias for quickly changing between nvidia and intel drivers --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index 17879ee..0249c45 100644 --- a/.zshrc +++ b/.zshrc @@ -146,3 +146,6 @@ dotfiles config --local status.showUntrackedFiles no # Add libvips environment variable for pyvips export LD_LIBRARY_PATH=/usr/local/lib/ + +# Switch between nvidia and intel drivers with one command +alias driver='optimus-manager --no-confirm --switch'