aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Hanus <mikehanus@protonmail.com>2026-09-22 16:04:05 +0200
committerMichal Hanus <mikehanus@protonmail.com>2026-09-22 16:04:05 +0200
commit37f61e4bd5a9afacbd8c4494cd8b9f0bf2822fa0 (patch)
treec5529899f0108bcdaadf815f81d982042b0feb37
parentea01f1505ed6d22ab730aa8dec6cf6eeac6fb25e (diff)
matlab aliases and EDITOR to nvimHEADmaster
-rw-r--r--.config/aliasrc3
-rw-r--r--.profile2
2 files changed, 5 insertions, 0 deletions
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