2022-11-26 10:30:34 -05:00
|
|
|
# Sample .bashrc for SUSE Linux
|
|
|
|
# Copyright (c) SUSE Software Solutions Germany GmbH
|
|
|
|
|
|
|
|
# There are 3 different types of shells in bash: the login shell, normal shell
|
|
|
|
# and interactive shell. Login shells read ~/.profile and interactive shells
|
|
|
|
# read ~/.bashrc; in our setup, /etc/profile sources ~/.bashrc - thus all
|
|
|
|
# settings made here will also take effect in a login shell.
|
|
|
|
#
|
|
|
|
# NOTE: It is recommended to make language settings in ~/.profile rather than
|
|
|
|
# here, since multilingual X sessions would not work properly if LANG is over-
|
|
|
|
# ridden in every subshell.
|
|
|
|
|
|
|
|
test -s ~/.alias && . ~/.alias || true
|
|
|
|
|
|
|
|
export PATH=$PATH:/home/zpb/.local/bin
|
2023-04-25 16:25:01 -04:00
|
|
|
export PATH=$PATH:/home/zpb/.config/emacs/bin
|
2022-11-26 10:30:34 -05:00
|
|
|
|
2022-12-31 14:07:56 -05:00
|
|
|
export EDITOR="emacs -nw"
|
2022-12-29 20:32:42 -05:00
|
|
|
export VISUAL=emacs
|
|
|
|
|
2023-04-25 17:23:01 -04:00
|
|
|
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
|
|
|
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
|
|
|
2022-11-26 10:30:34 -05:00
|
|
|
if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} ]]
|
|
|
|
then
|
|
|
|
exec fish
|
|
|
|
fi
|