25 lines
853 B
Bash
25 lines
853 B
Bash
# 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
|
|
export PATH=$PATH:/home/zpb/.emacs.d/bin
|
|
|
|
export EDITOR="emacs -nw"
|
|
export VISUAL=emacs
|
|
|
|
if [[ $(ps --no-header --pid=$PPID --format=comm) != "fish" && -z ${BASH_EXECUTION_STRING} ]]
|
|
then
|
|
exec fish
|
|
fi
|