From 7c02457e54ce3db3b4edb9657f35ba2498783a84 Mon Sep 17 00:00:00 2001 From: ziro Date: Tue, 3 May 2022 06:28:02 +0700 Subject: [PATCH] Wine stuff --- .config/vim/vim_uni | 2 +- .config/zsh/.zshenv | 1 + .config/zsh/aliases | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.config/vim/vim_uni b/.config/vim/vim_uni index f592fa0..8d30f3d 100644 --- a/.config/vim/vim_uni +++ b/.config/vim/vim_uni @@ -93,7 +93,7 @@ autocmd BufEnter *.py set ai sw=4 ts=4 sta et fo=croql " in C files, tabs looks like 4 spaces, but it's actually tabs autocmd BufEnter *.c set ai sw=4 ts=4 sta noet fo=croql autocmd BufEnter *.md set ai sw=3 ts=3 sta et fo=croql -autocmd Filetype html set ai sw=4 ts=4 sta et fo=croql +autocmd Filetype html* set ai sw=4 ts=4 sta et fo=croql autocmd Filetype css set ai sw=4 ts=4 sta et fo=croql autocmd Filetype javascript set ai sw=4 ts=4 sta et fo=croql autocmd Filetype vue set ai sw=4 ts=4 sta et fo=croql diff --git a/.config/zsh/.zshenv b/.config/zsh/.zshenv index b3b1321..db314c0 100644 --- a/.config/zsh/.zshenv +++ b/.config/zsh/.zshenv @@ -32,6 +32,7 @@ export MANPAGER="nvimpager" # export MANPAGER="/bin/sh -c \"col -b | vim --not-a-term -c 'set ft=man ts=8 nomod nolist noma' -\"" # -- Wine problem workaround +# - NOTE to self: this will prevent some games from launching # export MESA_GL_VERSION_OVERRIDE=4.4 # alternative workaround export MESA_GL_VERSION_OVERRIDE=4.6 diff --git a/.config/zsh/aliases b/.config/zsh/aliases index aa574b8..e259a04 100644 --- a/.config/zsh/aliases +++ b/.config/zsh/aliases @@ -8,7 +8,7 @@ alias sudovim='sudoedit' #switch to pgsql user -alias pg='sudo -iu postgres' +alias pg='doas -u postgres' #mysql with color # alias mysql=$(echo -e 'mysql --prompt="\x1B[34m\\d\x1B[32m \n>\x1B[0m "')