#!/bin/bash [[ -f ~/.bashrc ]] && . ~/.bashrc # if running bash if [ -n "$BASH_VERSION" ]; then # include .bashrc if it exists if [ -f "$HOME/.bashrc" ]; then . "$HOME/.bashrc" fi fi export GOPATH="$HOME/code/go" export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/share/games:/usr/local/sbin:/usr/sbin:/sbin:~/.local/bin:/usr/local/go/bin:$GOPATH/bin" # set PATH so it includes user's private bin if it exists if [ -d "$HOME/.local/bin" ] ; then PATH="$PATH:$(du "$HOME/.local/bin/" | cut -f2 | tr '\n' ':')" fi export TERMINAL='st' export EDITOR='vim' export PAGER='less' export BROWSER='firefox' export PULSE_PROP="filter.want=echo-cancel" export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/opt/cuda/lib64" export CUDA_HOME="/opt/cuda" [[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx