#!/bin/sh # This file is sourced by login shell # make user local luarocks packages visible to Lua for f in $HOME/dotfiles/shelllogin_*; do . $f ; done luarocks --version 1>/dev/null 2>&1 && eval $(luarocks path --bin) #umask 0027 mkdir -p /tmp/.cache/{telega,distcc,vim,webkitgtk,dconf,mozilla,vimb,mpv} . $HOME/.bashrc # [ $XDG_VTNR -eq 1 ] checks for tty1 # login shells start with "-", e.g. "-bash" instead of "/usr/bin/bash" [ -n "$XDG_VTNR" ] && [ $XDG_VTNR -eq 1 ] && [ "${0#-}" != "$0" ] && { session_choice.sh }