40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# /etc/skel/.bashrc
|
|
#
|
|
# This file is sourced by all *interactive* bash shells on startup,
|
|
# including some apparently interactive shells such as scp and rcp
|
|
# that can't tolerate any output. So make sure this doesn't display
|
|
# anything or bad things will happen !
|
|
|
|
|
|
# Test for an interactive shell. There is no need to set anything
|
|
# past this point for scp and rcp, and it's important to refrain from
|
|
# outputting anything in those cases.
|
|
|
|
####TEST LINES FOR SWAY-WM########
|
|
#if test -z "${XDG_RUNTIME_DIR}"; then
|
|
# export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
|
|
# if ! test -d "${XDG_RUNTIME_DIR}"; then
|
|
# mkdir "${XDG_RUNTIME_DIR}"
|
|
# chmod 0700 "${XDG_RUNTIME_DIR}"
|
|
# fi
|
|
#fi
|
|
|
|
if [[ $- != *i* ]] ; then
|
|
# Shell is non-interactive. Be done now!
|
|
return
|
|
fi
|
|
|
|
EDITOR=${EDITOR:-/usr/bin/vim}
|
|
|
|
# Put your fun stuff here.
|
|
PS1="\[\033[29m\]\u@\[\033[01;46m\]\w>\[\033[00m"
|
|
|
|
#Custom Aliases
|
|
for f in ~/.config/shellconfig/*; do source "$f"; done
|
|
|
|
#Custom Variables
|
|
export company='NewCompany'
|
|
|
|
#neofetch
|
|
PATH="$PATH:/usr/local/bin:/usr/local/sbin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/"
|