[nvim] various changes
This commit is contained in:
commit
0b530f0b8c
1 changed files with 21 additions and 2 deletions
19
shells/zshrc
19
shells/zshrc
|
@ -147,6 +147,25 @@ export GOPATH=$HOME/projects/go
|
||||||
|
|
||||||
GUIX_PROFILE="$HOME/.guix-profile/"
|
GUIX_PROFILE="$HOME/.guix-profile/"
|
||||||
GUIX_LOCPATH="$GUIX_PROFILE/lib/locale/"
|
GUIX_LOCPATH="$GUIX_PROFILE/lib/locale/"
|
||||||
|
|
||||||
|
if [[ -d $GUIX_PROFILE ]];
|
||||||
|
then
|
||||||
. "$GUIX_PROFILE/etc/profile"
|
. "$GUIX_PROFILE/etc/profile"
|
||||||
|
fi
|
||||||
|
|
||||||
GUIX_PROFILE="$HOME/.config/guix/current"
|
GUIX_PROFILE="$HOME/.config/guix/current"
|
||||||
|
|
||||||
|
if [[ -d $GUIX_PROFILE ]];
|
||||||
|
then
|
||||||
. "$GUIX_PROFILE/etc/profile"
|
. "$GUIX_PROFILE/etc/profile"
|
||||||
|
fi
|
||||||
|
|
||||||
|
#################
|
||||||
|
### WSL STUFF ###
|
||||||
|
#################
|
||||||
|
|
||||||
|
if [[ -n $WSL_DISTRO_NAME ]];
|
||||||
|
then
|
||||||
|
export DISPLAY=$(ip route | awk '{print $3; exit}'):0
|
||||||
|
export LIBGL_ALWAYS_INDIRECT=1
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in a new issue