From 37f61e4bd5a9afacbd8c4494cd8b9f0bf2822fa0 Mon Sep 17 00:00:00 2001 From: Michal Hanus Date: Tue, 22 Sep 2026 16:04:05 +0200 Subject: matlab aliases and EDITOR to nvim --- .config/aliasrc | 3 +++ .profile | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.config/aliasrc b/.config/aliasrc index 67c54d5..ae8154d 100644 --- a/.config/aliasrc +++ b/.config/aliasrc @@ -16,3 +16,6 @@ alias s='grep -rnw . -e' alias f='find . | grep -i' alias o='xdg-open' alias wtr="curl wttr.in/Kuncice+pod+Ondrejnikem" + +alias matlabg="__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia matlab -nosoftwareopengl" +alias matlabgn="__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia matlab -nosoftwareopengl -nodesktop" diff --git a/.profile b/.profile index d89ea5a..9266446 100644 --- a/.profile +++ b/.profile @@ -25,3 +25,5 @@ fi if [ -d "$HOME/.local/bin" ] ; then PATH="$HOME/.local/bin:$PATH" fi + +EDITOR=nvim -- cgit v1.2.3